Cisco UCS Director CopyFileRunnable run Symlink Following Remote Code Execution Vulnerability
The LargeFileUploadServlet endpoint processes tar files without properly validating symbolic links, allowing an attacker to write files outside the intended directory. This can lead to remote code execution as the tomcat service without authentication.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco UCS Director. Authentication is not required to exploit this vulnerability.
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
Impact
An unauthenticated remote attacker could execute arbitrary code with the privileges of the tomcat service.
What the attacker needed
No authentication required; ability to send tar file to 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 tar file is like a zip archive that can contain special links called symbolic links. The server didn't check these links, so an attacker could make the server write files to unintended places, like a folder where the server runs code. This let the attacker run their own commands on the server without needing to log in.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.