RCE in Dlink Dir-878 Firmware
CVE-2019-8317
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 SetStaticRouteIPv6Settings API function, as demonstrated by shell metacharacters in the DestNetwork field.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.064, 93.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Dlink Dir-878 Firmware — versions 1.12a1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, E4ck/vuls, leonW7/D-Link, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/lieanu/vuls/blob/master/dlink/DIR-878/staticrouterv6.md (Exploit, Third Party Advisory)