Command Injection Vulnerability in D-Link DIR-818LW Devices

Check todayFull system takeover over the network by a logged-in user.
8.8HIGH

CVE-2019-12787

Key Information:

Vendor

D-Link

CVE ID
CVE ID:
CVE-2019-12787
Vendor
CVE Published:
10 June 2019

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Dir-818lw Firmware. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2019-12787?

A command injection vulnerability exists on D-Link DIR-818LW devices within the HNAP1 SetWanSettings function. This exploitation allows attackers to inject malicious commands through an XML injection targeting the Gateway key value. Affected versions range from 2.05.B03 to 2.06B01 BETA. Users of these devices should implement immediate updates and review their security configurations to mitigate potential risks.

References

Out-of-Bounds Write Vulnerability in D-Link DIR-895L Router

CVE-2026-100740
D-linkDir-895l👾9.4CRITICAL

Stack-Based Buffer Overflow in D-Link DIR-868L Authentication Component

CVE-2026-94089
D-linkDir-868l👾10CRITICAL

Stack-based Buffer Overflow in D-Link DI-8400 Router

CVE-2025-9938
D-linkDi-8400👾8.7HIGH
View more D-Link vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.