Vulnerability

CVE-2018-19986

criticalCVSS 3.0 9.8Published 13 May 2019

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • D-Link dir-818lw firmware, dir-822 firmware
  • Dlink dir-818lw, dir-822

Weakness type

References

  • github.com /pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning