RCE in Dlink Dir-878
CVE-2019-8318
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.
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.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.064 · newest: 0.064 · change: 0.000
Affected products
- Dlink Dir-878
- Dlink Dir-878 Firmware — versions 1.12a1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/lieanu/vuls/blob/master/dlink/DIR-878/mail.md (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-8318?
- CVE-2019-8318 is a high-severity vulnerability in Dlink Dir-878, classified under OS Command Injection. CVSS score: 8.8/10. Published 2019-02-13.
- How severe is CVE-2019-8318?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2019-8318 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.