Synopsis
While developing a Nessus plugin for CVE-2018-0258 Tenable discovered an authenticated path traversal vulnerability in Cisco Data Center Network Manager (DCNM). The vulnerability allows a remote authenticated attacker to read arbitrary files and create arbitrary directories on the DCNM hosts.
The path traversal logic can be found in the xct.components.services.smart.data.download.SampleFileDownloadServlet servlet in dcnmweb.war. The servlet is used by the Download endpoint. An attacker can use the following URL to download files:
https://<cisco_dcnm_host>/Download?svc=samplefile&downloadLocation=../../../../../../../../Program%20Files/Cisco%20Systems/dcm/jboss-as-7.2.0.Final/standalone/configuration&downloadFiles=standalone-san.xml
And the following URL to create directories:
https://<cisco_dcnm_host>/Download?svc=samplefile&downloadLocation=../../../../../../../../folder&downloadFiles=standalone-san.xml
Solution
Upgrade to Cisco Data Center Network Manager 11.0.1Additional References
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180828-dcnm-traversalhttps://bst.cloudapps.cisco.com/bugsearch/bug/CSCvj86072
Disclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]