Skip to content
Crypto Advisory Advanced CVE-2021-27257

(Pwn2Own) NETGEAR R7800 ready-genie-cloud Improper Certificate Validation Remote Code Execution Vulnerability

The NETGEAR R7800 router does not properly validate the certificate presented by an FTP server when downloading files. A network-adjacent attacker could exploit this to compromise the integrity of downloaded information and, in conjunction with other vulnerabilities, execute arbitrary code as root.

Radek Domanski Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows network-adjacent attackers to compromise the integrity of downloaded information on affected installations of NETGEAR R7800. Authentication is not required to exploit this vulnerability.

Team FLASHBACK: Pedro Ribeiro (@pedrib1337 | [email protected]) + Radek Domanski (@RabbitPro), on the Zero Day Initiative

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

An attacker could compromise the integrity of downloaded information and, in conjunction with other vulnerabilities, execute arbitrary code as root.

What the attacker needed

Network-adjacent attacker; no authentication required

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.

When the router downloads files over FTP, it should check that the server's certificate is valid to ensure it is talking to the right server. Here, it skips that check, so an attacker on the same network could pretend to be the server and feed the router malicious files. This could lead to the attacker taking control of the router.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Radek Domanski

View all

5 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.