Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2018-19986
d-link dir-818lw firmware

Score9.8 Critical
CVSS 3.0
Exploit probability (EPSS)41.6%
within the next 30 days
CategoryCode execution & injection
Published13 May 2019
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: OS command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the /HNAP1/SetRouterSettings message, the RemotePort parameter is vulnerable, and the vulnerability affects D-Link DIR-818LW Rev.A 2.05.B03 and DIR-822 B1 202KRb06 devices. In the SetRouterSettings.php source code, the RemotePort parameter is saved in the $path_inf_wan1."/web" internal configuration memory without any regex checking. And in the IPTWAN_build_command function of the iptwan.php source code, the data in $path_inf_wan1."/web" is used with the iptables command without any regex checking. A vulnerable /HNAP1/SetRouterSettings XML message could have shell metacharacters in the RemotePort element such as the `telnetd` string.

CVSS: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-78 – OS command injection

Affected products

VendorProductVersions
d-linkdir-818lw firmware2.05.b03
d-linkdir-822 firmware202krb06

Sources

Latest in the same category

  • CVE-2026-140128 Medium 5.5
    A flaw has been found in Baison E3 Omni-Channel Retail Platform up to 2.5.1. Affected is an unknown function of the component KHATTACH Controller. Executing a manipulation of the argument retObjs can lead to sql…
    Code execution & injection · 1 December 2026
  • CVE-2026-140057 Low 2
    A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management.…
    Code execution & injection · 1 December 2026
  • CVE-2026-140056 Low 2
    A security vulnerability has been detected in yangzongzhuan RuoYi up to 4.8.3. The affected element is the function menuItem of the file ruoyi-admin/src/main/resources/static/ruoyi/index.js of the component Menu…
    Code execution & injection · 1 December 2026
  • CVE-2026-140041 High 8.5
    A flaw has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. The impacted element is the function FUN_0001f94c of the file /protocol.csp of the component ioos. Executing a manipulation of the argument mac can lead to…
    Code execution & injection · 1 December 2026
  • CVE-2026-140040 High 8.6
    A vulnerability was detected in WAVLINK WL-WN530BE1-A M30BE1_V251117. The affected element is the function port_forward of the file /protocol.csp of the component ioos. Performing a manipulation of the argument Name…
    Code execution & injection · 1 December 2026
  • CVE-2026-139983 Medium 5.5
    A vulnerability was identified in walinejs Waline up to 1.43.4. This issue affects some unknown processing. Such manipulation of the argument mail leads to sql injection. The attack can be executed remotely. The…
    Code execution & injection · 1 December 2026