{"id":"CVE-2019-8313","published":"2019-02-13T03:00:00Z","modified":"2024-09-16T23:11:24Z","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 SetIPv6FirewallSettings API function, as demonstrated by shell metacharacters in the SrcIPv6AddressRangeStart 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/firewallv6.md","tags":["x_refsource_MISC"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.77}]},"summary":{"text":"The flaw is a command injection vulnerability in the HNAP API of D-Link DIR-878 routers running firmware 1.12A1, where untrusted input reaches the twsystem function when an HNAP API function is triggered. An attacker can send a crafted POST request to /HNAP1 with shell metacharacters in the SrcIPv6AddressRangeStart field of the SetIPv6FirewallSettings call to execute arbitrary OS commands and obtain a root shell, and this requires only remote network access to the device without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:04Z"},"euvd":{"id":"EUVD-2019-17711","exploited":false,"provenance":"source"}}