Cisco Data Center Network Manager importTS Command Injection Remote Code Execution Vulnerability
The importTS endpoint of the SanWSService/SanWS service did not properly validate the certFile parameter before using it in a system call, allowing command injection. An attacker could exploit this to execute arbitrary code as SYSTEM, though authentication was required and the existing authentication mechanism could be bypassed.
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 certFile parameter was passed into a system call without validation or escaping, so shell metacharacters in the value were interpreted as commands.
Impact
An attacker could execute arbitrary code with SYSTEM privileges, although authentication was required and the existing authentication mechanism could be bypassed.
What the attacker needed
Network access to the service; authentication bypass
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.
This is a command injection bug. The server takes a value from a request and passes it to the operating system without checking it, so an attacker can sneak in extra commands that the server then runs. Because the service runs with high privileges, those commands run as the SYSTEM account, which is the most powerful user on Windows.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.