{"id":"CVE-2019-8315","published":"2019-02-13T03:00:00Z","modified":"2024-09-17T03:03:40Z","title":"An issue was discovered on D-Link DIR-878 devices with firmware 1.12A1","vendor":null,"product":null,"tier":"tail","description":{"text":"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 SetIPv4FirewallSettings API function, as demonstrated by shell metacharacters in the SrcIPv4AddressRangeStart field.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06408,"percentile":0.93841,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lieanu/vuls/blob/master/dlink/DIR-878/firewallv4.md","tags":["x_refsource_MISC"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.77}]},"summary":{"text":"The D-Link DIR-878 router running firmware 1.12A1 contains a command injection flaw in its HNAP API handling, where untrusted input reaches the twsystem function through the SetIPv4FirewallSettings API function (demonstrated via the SrcIPv4AddressRangeStart field). An attacker who can send a crafted /HNAP1 POST request to the device, with no authentication or user interaction indicated, can execute arbitrary OS commands and obtain a root shell.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:04Z"},"euvd":{"id":"EUVD-2019-17713","exploited":false,"provenance":"source"}}