CVE-2024-51021 Command injection in n/a
Attackers can execute arbitrary OS commands on Netgear routers via a crafted request to the genie_fix2.cgi endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-51021?
CVE-2024-51021 is a high-severity command injection vulnerability in Netgear R7000p Firmware, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Netgear XR300 v1.0.3.78, R7000P v1.3.3.154, and R6400 v2 1.0.4.128 was discovered to contain a command injection vulnerability via the wan_gateway parameter at genie_fix2.cgi. This vulnerability allows attackers to execute arbitrary OS commands via a crafted request.
Weakness: CWE-78
Which versions are affected by CVE-2024-51021?
It affects 3 products.
Products include Netgear R6400v2 Firmware, Netgear R7000p Firmware, Netgear Xr300 Firmware.
How do I fix CVE-2024-51021?
No fix has been published for CVE-2024-51021 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-2024-51021 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51021 exists.
Other vulnerabilities in Netgear R7000p Firmware
Sources
Also known as GHSA-m2pm-j5cr-9fm9.