Researching the Netgear R7000 Firmware Update Flaw (CVE-2020–13
The Netgear R7000 router's firmware update process lacks signature verification, so an attacker on the same network could redirect update traffic via DNS spoofing and serve a modified firmware image that the router would accept. The author verified that a replacement .chk image was accepted without signature rejection, but did not demonstrate a root shell.
Published on medium.com
This is a replication and analysis of a publicly disclosed vulnerability, not a new finding. CVE-2020–13245 was already documented; I wanted to understand, in my own lab, exactly how a lack of firmware signature verification turns into remote code execution on a consumer router.
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
The firmware update client does not verify a cryptographic signature on the downloaded image, and it invokes wget with certificate checking disabled, so it trusts any file that parses as a valid container.
Impact
An attacker on the same network could cause the router to install attacker-controlled firmware, potentially leading to remote code execution, though the author did not demonstrate a root shell.
What the attacker needed
Attacker on same network; ability to spoof DNS; controlled server
The fix
The router should verify a cryptographic signature on downloaded firmware images and enforce TLS certificate validation.
How it was found
- Set up an isolated lab network with DNS spoofing to redirect the router's update traffic to a controlled server.
- Host a modified firmware binary and a crafted fileinfo.txt indicating a new version.
- The router fetched and processed the served file, accepting the replacement .chk image without signature rejection.
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.
A router periodically downloads new firmware (its operating software) from the manufacturer. This router did not check a digital signature to confirm the file really came from Netgear, so someone who could intercept the download could give it a fake update. The author tested this in a lab and saw the router accept a modified file, though they did not show full control of the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.