CVE-2019-8315: OS Command Injection

Published Feb 13, 2019
·
Updated

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.

Affected Software

4 affected components
All of the following
Dlink Dir-878 Firmware=1.12a1
Dlink Dir-878
Dlink Dir-878 Firmware=1.12a1
Dlink Dir-878

Event History

Feb 13, 2019
CVE Published
via MITRE·03:00 AM
Data Sourced
via MITRE·03:00 AM
Description
Data Sourced
via NVD·03:29 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-8315?

CVE-2019-8315 is a Command Injection vulnerability discovered on D-Link DIR-878 devices with firmware 1.12A1.

2

How severe is CVE-2019-8315?

CVE-2019-8315 has a severity rating of 8.8 (Critical).

3

How does CVE-2019-8315 affect D-Link DIR-878 devices?

CVE-2019-8315 allows a remote attacker to execute arbitrary code and gain a root shell on D-Link DIR-878 devices with firmware 1.12A1.

4

How can an attacker exploit CVE-2019-8315?

An attacker can exploit CVE-2019-8315 by sending a crafted /HNAP1 POST request to the device.

5

Is D-Link DIR-878 with firmware 1.12A1 vulnerable to CVE-2019-8315?

Yes, D-Link DIR-878 devices with firmware 1.12A1 are vulnerable to CVE-2019-8315.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203