CVE-2024-12847 NETGEAR DGN setup.cgi OS Command Injection
Remote unauthenticated attackers can execute arbitrary OS commands as root on NETGEAR DGN1000 routers via the setup.cgi endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12847?
CVE-2024-12847 is a critical command injection vulnerability in NETGEAR DGN1000, published on 10 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
NETGEAR DGN1000 before 1.1.00.48 is vulnerable to an authentication bypass vulnerability. A remote and unauthenticated attacker can execute arbitrary operating system commands as root by sending crafted HTTP requests to the setup.cgi endpoint. This vulnerability has been observed to be exploited in the wild since at least 2017 and specifically by the Shadowserver Foundation on 2025-02-06 UTC.
Which versions are affected by CVE-2024-12847?
It affects 1 product.
Products include Netgear Dgn1000 Firmware.
How do I fix CVE-2024-12847?
No fix has been published for CVE-2024-12847 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-12847 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12847 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-pq8m-gwqp-g9xv.