(0Day) Actiontec WCB6200Q Cookie Format String Remote Code Execution Vulnerability
The HTTP server on Actiontec WCB6200Q routers uses a user-supplied Cookie header as a format string, allowing a network-adjacent attacker to execute arbitrary code without authentication.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Actiontec WCB6200Q 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 attacker could execute arbitrary code with the HTTP server's privileges, and the only mitigation is to restrict access to the application.
What the attacker needed
Network-adjacent access to the router; no authentication required
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 format string bug happens when a program treats user input as a template for output, so special characters like %s can make it read or write memory. Here, the router's web server does this with the Cookie header, letting someone on the same network run their own code on the device without logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.