CVE-2019-8313: 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 SetIPv6FirewallSettings API function, as demonstrated by shell metacharacters in the SrcIPv6AddressRangeStart field.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2019-8313?
CVE-2019-8313 is a command injection vulnerability found on D-Link DIR-878 devices with firmware 1.12A1, allowing remote attackers to execute arbitrary code and obtain a root shell.
How severe is CVE-2019-8313?
CVE-2019-8313 has a severity rating of 8.8, indicating a critical vulnerability.
Which devices are affected by CVE-2019-8313?
D-Link DIR-878 devices with firmware 1.12A1 are affected by CVE-2019-8313.
How can an attacker exploit CVE-2019-8313?
An attacker can exploit CVE-2019-8313 by sending a crafted /HNAP1 POST request, allowing them to execute arbitrary OS commands.
Is there a fix for CVE-2019-8313?
Yes, installing the latest firmware update provided by D-Link can fix the CVE-2019-8313 vulnerability.