Cisco Data Center Network Manager writeToFile Directory Traversal Remote Code Execution Vulnerability
The application fails to validate the serialNumber parameter before using it in file operations, allowing path traversal. An attacker could bypass authentication and execute arbitrary code as root.
Originally disclosed on Zero Day Initiative
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 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 application does not sanitise the serialNumber parameter, allowing directory traversal sequences to write files to arbitrary locations.
Impact
An attacker could execute arbitrary code with root privileges, but authentication is required and must first be bypassed.
What the attacker needed
Authentication bypass required; network access to the application
The fix
Cisco has 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.
This is a path traversal bug where an attacker can trick the server into writing files outside the intended folder. Because the server runs with high privileges, the attacker can write a malicious file and get it executed, taking full control of the system.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.