NVIDIA Onyx Directory Traversal Remote Code Execution Vulnerability
The /admin/launch endpoint fails to validate a user-supplied path in the script query parameter before using it in file operations. A network-adjacent attacker without authentication could exploit this to execute arbitrary code on the device.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NVIDIA Onyx switches. 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 endpoint passes the script parameter directly into file operations without validating or restricting the path.
Impact
A network-adjacent attacker without authentication could execute arbitrary code in the context of the device.
What the attacker needed
Network-adjacent access; no authentication required
The fix
NVIDIA 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 directory traversal flaw lets someone use a file path that escapes the intended folder, like using '../' to reach other files. Here, the switch's web endpoint takes a path from the user and uses it without checking it, so an attacker on the same network can run their own code on the device.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.