SD-PWN Part 1 — Silver-Peak Unity Orchestrator
The Silver Peak Unity Orchestrator had an authentication bypass that allowed remote attackers to access privileged API endpoints, a path traversal in a file deletion endpoint, and an arbitrary SQL query endpoint that could write files. Chained together, these allowed an unauthenticated attacker to execute arbitrary code on the system.
Published on medium.com
SD-WAN is a big deal. Gartner calls it the “replacement for traditional WAN routers”.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the authentication check trusted the HTTP Host header, the file deletion endpoint lacked path sanitisation, and the SQL endpoint allowed file writes, which together enabled code execution.
Impact
An unauthenticated attacker could execute arbitrary code on the orchestrator, potentially intercepting or disrupting the entire SD-WAN network.
What the attacker needed
Network access to the orchestrator
The fix
The vulnerabilities were resolved by the vendor before publication.
How it was found
- Find a file that is executed by the web server.
- Delete that file using the file deletion path traversal endpoint.
- Recreate the file using the SQL query execution endpoint with an INTO DUMPFILE clause.
- Trigger the execution of the recreated file.
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 write-up has not been written yet. The Original tab links to the source.
This report describes three separate security mistakes in a network management product. The first let anyone pretend to be the local machine to skip login, the second let files be deleted anywhere, and the third let database queries write files. By combining them, an attacker could run their own commands on the server without needing a password.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.