CVE-2019-8319 Command injection in n/a
Remote attackers can execute arbitrary OS commands and gain root access via crafted HNAP requests on D-Link DIR-878 routers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-8319?
CVE-2019-8319 is a high-severity command injection vulnerability in n/a, published on 13 Feb 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered on D-Link DIR-878 devices with firmware 1.12A1. This issue is a Command Injection allowing a remote attacker to execute arbitrary code, and get a root shell. A command Injection vulnerability allows attackers to execute arbitrary OS commands via a crafted /HNAP1 POST request. This occurs when any HNAP API function triggers a call to the system function with untrusted input from the request body for the SetStaticRouteIPv4Settings API function, as demonstrated by shell metacharacters in the Gateway field.
Weakness: CWE-78
Which versions are affected by CVE-2019-8319?
It affects 1 product.
Products include Dlink Dir-878 Firmware.
How do I fix CVE-2019-8319?
No fix has been published for CVE-2019-8319 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-2019-8319 being exploited?
There is no known exploitation of CVE-2019-8319 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gjqf-66pg-h4cm.