CVE-2019-8312: OS Command Injection
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 twsystem function with untrusted input from the request body for the SetSysLogSettings API function, as demonstrated by shell metacharacters in the IPAddress field.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2019-8312?
CVE-2019-8312 is a Command Injection vulnerability found in D-Link DIR-878 devices with firmware 1.12A1.
How severe is CVE-2019-8312?
CVE-2019-8312 has a severity rating of critical with a score of 8.8.
How does CVE-2019-8312 allow a remote attacker to execute arbitrary code?
CVE-2019-8312 allows a remote attacker to execute arbitrary code by exploiting a command injection vulnerability via a crafted /HNAP1 POST request.
Is D-Link DIR-878 firmware 1.12A1 affected by CVE-2019-8312?
Yes, D-Link DIR-878 firmware 1.12A1 is affected by CVE-2019-8312.
How can I fix CVE-2019-8312?
To fix CVE-2019-8312, update your D-Link DIR-878 firmware to a version that patches the vulnerability.