CVE-2019-8318: 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 SetSysEmailSettings API function, as demonstrated by shell metacharacters in the SMTPServerPort field.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2019-8318?
CVE-2019-8318 is a Command Injection vulnerability on D-Link DIR-878 devices with firmware 1.12A1.
How severe is CVE-2019-8318?
CVE-2019-8318 has a severity rating of 8.8, which is classified as critical.
How does CVE-2019-8318 work?
CVE-2019-8318 allows a remote attacker to execute arbitrary OS commands by sending a crafted /HNAP1 POST request.
Is D-Link DIR-878 affected by CVE-2019-8318?
Yes, D-Link DIR-878 devices with firmware 1.12A1 are affected by CVE-2019-8318.
How can I fix CVE-2019-8318?
To fix CVE-2019-8318, it is recommended to update the firmware of the D-Link DIR-878 device to a version that is not vulnerable.