NETGEAR R6260 mini_httpd Buffer Overflow Remote Code Execution Vulnerability
A buffer overflow in the SOAPAction header handling of NETGEAR R6260 routers allows network-adjacent attackers to execute arbitrary code as root without authentication. The vendor has released an update to fix the issue.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6260 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
Root cause
The process does not properly validate the length of user-supplied data in the SOAPAction header before copying it to a fixed-length buffer.
Impact
An attacker could execute arbitrary code with root privileges on the router.
What the attacker needed
Network-adjacent access to the router
The fix
NETGEAR has issued an update to correct this 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 buffer overflow happens when a program copies more data into a fixed-size memory space than it can hold, causing the extra data to spill over and potentially let an attacker control the program's execution. Here, the router's web server does this when handling a specific request header, so someone on the same network could take over the router without needing a password.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.