Cisco Data Center Network Manager AFW Image Upload Directory Traversal Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco Data Center Network Manager. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
The specific flaw exists within the processing of requests to the upload endpoint. When parsing the file parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of root.
Additional Details
Cisco has issued an update to correct this vulnerability. More details can be found at:
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200102-dcnm-path-trav
Disclosure Timeline
- 2019-09-27 - Vulnerability reported to vendor
- 2020-01-03 - Coordinated public release of advisory
Credit
Steven Seeley (mr_me) of Source Incite