CVE-2018-17787 Command injection in n/a
Attackers can execute arbitrary commands on D-Link DIR-823G routers by injecting shell metacharacters into POST data sent to the HNAP1 interface.
- 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-2018-17787?
CVE-2018-17787 is a critical command injection vulnerability in n/a, published on 2 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
On D-Link DIR-823G devices, the GoAhead configuration allows /HNAP1 Command Injection via shell metacharacters in the POST data, because this data is sent directly to the "system" library function.
Weakness: CWE-78
Which versions are affected by CVE-2018-17787?
It affects 1 product.
Products include D-Link Dir-823g Firmware.
How do I fix CVE-2018-17787?
No fix has been published for CVE-2018-17787 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-2018-17787 being exploited?
There is no known exploitation of CVE-2018-17787 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jq8r-c5mq-7jcx.