ESB-2018.1375.2 - UPDATE ALERT [Cisco] Cisco Prime Data Center Network Manager and Prime Infrastructure: Execute arbitrary code/commands - Remote/unauthenticated 2018-05-08

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2018.1375.2
         Cisco Prime File Upload Servlet Path Traversal and Remote
                       Code Execution Vulnerability
                                8 May 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Cisco Prime Data Center Network Manager (DCNM)
                   Cisco Prime Infrastructure (PI)
Publisher:         Cisco Systems
Operating System:  Cisco
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Create Arbitrary Files          -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-0285  

Original Bulletin: 
   https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180502-prime-upload

Revision History:  May 8 2018: Source article updated their source.
                   May 4 2018: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

Cisco Prime File Upload Servlet Path Traversal and Remote Code Execution
Vulnerability

Priority: Critical
Advisory ID: cisco-sa-20180502-prime-upload
First Published: 2018 May 2 16:00 GMT
Last Updated: 2018 May 7 13:53 GMT
Version 1.1: Final
Workarounds: No workarounds available
Cisco Bug IDs: CSCvf32411 CSCvf81727
 
CVE-2018-0258
CWE-22
 
CVSS Score:
Base 9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:X
 
Summary

  * A vulnerability in the Cisco Prime File Upload servlet affecting multiple
    Cisco products could allow a remote attacker to upload arbitrary files to
    any directory of a vulnerable device and execute those files.

    For more information about this vulnerability per Cisco product, see the
    Details section of this security advisory.

    Cisco has released software updates that address this vulnerability. There
    are no workarounds that address this vulnerability.

    This advisory is available at the following link:
    https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/
    cisco-sa-20180502-prime-upload

Affected Products

  * Vulnerable Products

    This vulnerability affects the following products:
      + Cisco Prime Data Center Network Manager (DCNM) - Version 10.0 and later
      + Cisco Prime Infrastructure (PI) - All versions

    Products Confirmed Not Vulnerable

    Only products listed in the Vulnerable Products section of this advisory
    are known to be affected by this vulnerability.

    Cisco has confirmed that this vulnerability does not affect the following
    products:
      + Cisco Evolved Programmable Network Manager
      + Cisco Prime Access Registrar
      + Cisco Prime Active Catalog
      + Cisco Prime Cable Provisioning
      + Cisco Prime Central for Service Providers
      + Cisco Prime Collaboration Assurance
      + Cisco Prime Collaboration Provisioning
      + Cisco Prime Home
      + Cisco Prime IP Express
      + Cisco Prime LAN Management Solution
      + Cisco Prime Network
      + Cisco Prime Network Analysis Module
      + Cisco Prime Network Registrar
      + Cisco Prime Optical for Service Providers
      + Cisco Prime Order Management
      + Cisco Prime Performance Manager
      + Cisco Prime Provisioning for Service Providers
      + Cisco Prime Service Catalog
      + Cisco Prime Unified Service Monitor

Details

  * Details about the Cisco Prime File Upload servlet vulnerability per
    affected product are as follows.

    Cisco Prime Data Center Network Manager Upload Servlet Path Traversal and
    Remote Code Execution Vulnerability

    A vulnerability in the File Upload servlet of Cisco Prime Data Center
    Network Manager (DCNM) could allow an unauthenticated, remote attacker to
    upload arbitrary files to any directory of a vulnerable device and then
    execute those files.

    The vulnerability is due to improper input validation of the parameters in
    the HTTP request and a processing error in the role-based access control
    (RBAC) of URLs. An attacker could exploit this vulnerability by uploading a
    crafted Java Server Pages (JSP) file to a specific folder using path
    traversal techniques and then executing that file remotely. An exploit
    could allow the attacker to execute arbitrary commands on the affected
    device with the privileges of the SYSTEM user.

    The Common Vulnerability Scoring System (CVSS) score for this vulnerability
    is: Base 9.8

    The Security Impact Rating (SIR) for this vulnerability is: Critical

    The Cisco bug ID for this vulnerability is: CSCvf32411

    Cisco Prime Infrastructure Upload Servlet Path Traversal and Remote Code
    Execution Vulnerability

    A vulnerability in the File Upload servlet of Cisco Prime Infrastructure
    (PI) could allow an authenticated, remote attacker to upload arbitrary
    files to any directory of a vulnerable device and then execute those files.

    The vulnerability is due to improper input validation of the parameters in
    the HTTP request. An attacker could exploit this vulnerability by logging
    in to the affected application as an unprivileged user, uploading a crafted
    Java Server Pages (JSP) file to a specific folder using path traversal
    techniques and then executing that file remotely. An exploit could allow
    the attacker to execute arbitrary commands on the affected device with the
    privileges of the SYSTEM user.

    The CVSS score for this vulnerability is: Base 8.8

    The SIR for this vulnerability is: High

    The Cisco bug ID for this vulnerability is: CSCvf81727

Workarounds

  * There are no workarounds that address this vulnerability.

Fixed Software

  * Cisco has released free software updates that address the vulnerability
    described in this advisory. Customers may only install and expect support
    for software versions and feature sets for which they have purchased a
    license. By installing, downloading, accessing, or otherwise using such
    software upgrades, customers agree to follow the terms of the Cisco
    software license:
    https://www.cisco.com/c/en/us/products/end-user-license-agreement.html

    Additionally, customers may only download software for which they have a
    valid license, procured from Cisco directly, or through a Cisco authorized
    reseller or partner. In most cases this will be a maintenance upgrade to
    software that was previously purchased. Free security software updates do
    not entitle customers to a new software license, additional software
    feature sets, or major revision upgrades.

    When considering software upgrades, customers are advised to regularly
    consult the advisories for Cisco products, which are available from the
    Cisco Security Advisories and Alerts page, to determine exposure and a
    complete upgrade solution.

    In all cases, customers should ensure that the devices to be upgraded
    contain sufficient memory and confirm that current hardware and software
    configurations will continue to be supported properly by the new release.
    If the information is not clear, customers are advised to contact the Cisco
    Technical Assistance Center (TAC) or their contracted maintenance
    providers.

    Customers Without Service Contracts

    Customers who purchase directly from Cisco but do not hold a Cisco service
    contract and customers who make purchases through third-party vendors but
    are unsuccessful in obtaining fixed software through their point of sale
    should obtain upgrades by contacting the Cisco TAC:
    https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html

    Customers should have the product serial number available and be prepared
    to provide the URL of this advisory as evidence of entitlement to a free
    upgrade.

    Fixed Releases

    In the following tables, the left column lists major releases of Cisco
    software. The right column indicates whether a major release is affected by
    the vulnerability described in this advisory and the first minor release
    that includes the fix for this vulnerability.

    Data Center Network Manager (DCNM)


    Cisco DCNM Major Release First Fixed Release for This Vulnerability
    Prior to 10.0            Not vulnerable
    10.0                     Affected; migrate to 10.3(1)
    10.1                     Affected; migrate to 10.3(1)
    10.2                     Affected; migrate to 10.3(1)
    10.3                     Not vulnerable


    Prime Infrastructure (PI)


    Cisco PI Major Release First Fixed Release for This Vulnerability
    Prior to 3.1           Affected; migrate to 3.1.7 Update 01
    3.1                    3.1.7 Update 01
    3.2                    3.2.1
    3.3                    Not vulnerable
    3.4                    Not vulnerable
    2.2-FIPS               Affected; migrate to 3.2-FIPS

Exploitation and Public Announcements

  * The Cisco Product Security Incident Response Team (PSIRT) is not aware of
    any public announcements or malicious use of the vulnerability that is
    described in this advisory.

Source

  * Cisco would like to thank Tenable, Inc. for reporting this vulnerability.

URL

  * https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/
    cisco-sa-20180502-prime-upload

Revision History

  * 
    +-----------------------------------------------------------------------------+
    | Version  |         Description         | Section  | Status  |     Date      |
    |----------+-----------------------------+----------+---------+---------------|
    | 1.1      | Corrected the source.       | Source   | Final   | 2018-May-07   |
    |----------+-----------------------------+----------+---------+---------------|
    | 1.0      | Initial public release.     | ?        | Final   | 2018-May-02   |
    +-----------------------------------------------------------------------------+

- -------------------------------------------------------------------------------

Legal Disclaimer

  * THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND
    OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR
    FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT
    OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES
    THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.

    A standalone copy or paraphrase of the text of this document that omits the
    distribution URL is an uncontrolled copy and may lack important information
    or contain factual errors. The information in this document is intended for
    end users of Cisco products.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWvD5LYx+lLeg9Ub1AQjqDw//YS5V38vzv4RaUfq4toKXNN8JKuu0fiva
vzn0+NXji7+g3Z6JpM7KHSYMJ20Otur++B7dSWf4zt/0ETBfabRzxk97M0Hqklfi
HeUgBOMViH69FGykJ+7CGDXwKYTDJ4qPY/wfI1fhWOFKyyiXc3XkaTntYPwocvnI
PyEQQhO7zhuUOkxHfSc0+gfWDAqPGmxx0xWJZSBuKUdbFBvSR5J+TZdtHL56BFns
65B5hag8FYIBgZy76q4CzPrjB7+xu/NqFdRuYdpWgkI9vSpxBK4sVYcyeMWPPatG
hoJw9SZKNtIQskiF1/FpykZTAO6RRByhUZrY+3WIr2qJ2hGHkshxaX/hofhNVOZU
8bTgjaUKXmQv9+81pl/fGtprA7MqnjzfeRB9RDcjwOpHjSQkzSjywTG/F21Q7V9q
giCCN6RamN6wEglhubvxMdSSPH1nGZWYQ/uWMBaqrkagdK0J5xSGh+U1DGMdzLo6
nI0aPTcKsoBbZUIpFqxpFO0kGx879MPF96FOKUX+j+jYROphevZpkQPuQIjYB0tW
3Yvxn6/jmn8YC5o/1bAhtThKdWVulM2x4hD/vNVhxrhELiBNS52Zc3HfYu49fLEp
5M2kRj/v9CK9MflPBkNnsabcxgVkMNvl4n8YKphuocVWDliRExzH00JjSDVTD1AQ
mNcAOI9XgpY=
=ptRf
-----END PGP SIGNATURE-----

« Back to bulletins