SecurityContext

CVE-2019-8316: D-Link DIR-878 - Command Injection

  • Cve: CVE-2019-8316
  • Name: D-Link DIR-878 - Command Injection
  • Description: 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 SetWebFilterSettings API function, as demonstrated by shell metacharacters in the WebFilterURLs field.
  • Impact: Remote attackers can execute arbitrary OS commands with root privileges, potentially leading to full device compromise.
  • Remediation: Update to the latest firmware version provided by D-Link to patch this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.06582
  • Epss percentile: 0.93996
  • Assignee: [email protected]
  • Published at: 2019-02-13T03:29:00Z
  • Age in days: 2841
  • Modified at: 2026-06-17T02:41:50Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-8316
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/lieanu/vuls/blob/master/dlink/DIR-878/webfilter.mdnvd2019-02-13

References

UrlSourceTags
https://github.com/lieanu/vuls/blob/master/dlink/DIR-878/webfilter.mdnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dlink:dir-878_firmware= 1.12a1yesnvd/v1/products/dlink/dir-878_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2019-02-13
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts