Cisco UCS Director ApplianceStorageUtil unzip Directory Traversal Remote Code Execution Vulnerability
The LargeFileUploadServlet endpoint in Cisco UCS Director processes zip files without validating the paths inside them, so a crafted archive can write files outside the intended directory. An unauthenticated remote attacker could use this to run arbitrary code as root.
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
Root cause
Likely the zip extraction routine trusted the file paths stored in the archive and joined them to a destination directory without checking for traversal sequences.
Impact
An unauthenticated attacker could execute arbitrary code on the appliance with root privileges.
What the attacker needed
Network access to the appliance; no authentication needed
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.
A zip file contains a list of file names and their contents. If a program unpacks a zip without checking those names, a name like a path that climbs up out of the target folder can make it write a file somewhere else on the server. Here that let an attacker place their own files and get code running on the machine, without even logging in.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.