Cisco Data Center Network Manager readConfigFileFromDB Directory Traversal Information Disclosure Vulnerability
The readConfigFileFromDB SOAP endpoint fails to validate the configFileName parameter before using it in file operations, allowing path traversal. A remote attacker who bypasses authentication could read sensitive files as SYSTEM.
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
The endpoint used the user-supplied configFileName value in file operations without validating the path.
Impact
An attacker could disclose sensitive files on the server with SYSTEM privileges, though authentication is required and must first be bypassed.
What the attacker needed
Network access to the SOAP service; authentication bypass
The fix
Cisco issued an update to correct the 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.
Some web services accept a file name and then open that file on the server. If the server does not check the name, an attacker can use tricks like '../' to step out of the intended folder and read other files. Here the attacker also needs to get past the login first, but the report says that can be bypassed.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.