Cisco Multiple Routers RESTCONF file-upload Directory Traversal Arbitrary File Write Vulnerability
The web service on affected Cisco RV16x and RV26x routers fails to validate a user-supplied path before using it in file operations, allowing a path traversal. A network-adjacent attacker without authentication could create arbitrary files as root on the device.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Cisco RV16x and RV26x routers. 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
A network-adjacent, unauthenticated attacker could create arbitrary files as root on the router, which may lead to further compromise of the device.
What the attacker needed
Network-adjacent access to the router; 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.
These routers run a small web service that accepts files or paths from users. Because the software did not check the path properly, someone on the same network could sneak in a path that points outside the intended folder and write their own files onto the device. Writing files as the root user means the attacker controls the most powerful account on the router.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.