Cisco Data Center Network Manager getDeployContent Directory Traversal Information Disclosure Vulnerability
The rest/auto-config/fabrics/abc/deployments/files endpoint of Cisco Data Center Network Manager does not properly validate a user-supplied path before using it in file operations. A remote attacker could exploit this to disclose sensitive information such as stored credentials, although authentication is required and the existing authentication mechanism can be bypassed.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information 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 full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint passed a user-controlled path from the URL into file operations without validating or restricting it to an intended directory.
Impact
An attacker could disclose sensitive information such as stored credentials, leading to further compromise; authentication is required but the existing authentication mechanism can be bypassed.
What the attacker needed
Network access to the DCNM instance; authentication bypass to reach the endpoint
The fix
Cisco issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A directory traversal bug lets someone trick a web server into reading files outside the folder it is meant to serve, by putting special path characters in a request. Here the server took part of the URL and used it to decide which file to open without checking it was safe. The result is that an attacker could read sensitive files, including stored passwords, which could then be used to go further.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.