CVE-2021-27253 Command injection in R7800

High 8.8 Published Updated

Network-adjacent attackers can bypass authentication and execute arbitrary code as root via improper validation in the rc_service parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27253?

CVE-2021-27253 is a high-severity command injection vulnerability in Netgear D7800 Firmware, published on 14 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR Nighthawk R7800. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of the rc_service parameter provided to apply_bind.cgi. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-12303.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-27253?

It affects 43 products.

Products include Netgear Br200 Firmware, Netgear Br500 Firmware, Netgear D7800 Firmware, Netgear Ex6100v2 Firmware, Netgear Ex6150 Firmware, Netgear Ex6250 Firmware and 37 more.

How do I fix CVE-2021-27253?

No fix has been published for CVE-2021-27253 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-27253 being exploited?

There is no known exploitation of CVE-2021-27253 in the wild and no public exploit code.

All Netgear D7800 Firmware vulnerabilities

Sources

Also known as GHSA-xj23-fxfm-58rq.

Is CVE-2021-27253 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free