CVE-2020-27867 Command injection in Multiple Routers
Network-adjacent attackers can bypass authentication and execute arbitrary code as root on NETGEAR routers via command injection in mini_httpd.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-27867?
CVE-2020-27867 is a medium-severity command injection vulnerability in Netgear R6020 Firmware, published on 11 Feb 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 R6020, R6080, R6120, R6220, R6260, R6700v2, R6800, R6900v2, R7450, JNR3210, WNR2020, Nighthawk AC2100, and Nighthawk AC2400 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the mini_httpd service, which listens on TCP port 80 by default. When parsing the funjsq_access_token parameter, the process does not properly validate 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-11653.
Weakness: CWE-77
Which versions are affected by CVE-2020-27867?
It affects 19 products.
Products include Netgear Ac2100 Firmware, Netgear Ac2400 Firmware, Netgear Ac2600 Firmware, Netgear R6020 Firmware, Netgear R6080 Firmware, Netgear R6120 Firmware and 13 more.
How do I fix CVE-2020-27867?
No fix has been published for CVE-2020-27867 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-2020-27867 being exploited?
There is no known exploitation of CVE-2020-27867 in the wild and no public exploit code.
Other vulnerabilities in Netgear R6020 Firmware
Sources
Also known as GHSA-9xcx-66r3-hp2h.