{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-19986","published":"2019-05-13T14:29:01.143000Z","last_modified":"2026-06-17T01:50:14.420000Z","status":"Modified","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:*","part":"o","vendor":"d-link","product":"dir-818lw_firmware","version":"2.05.b03"},{"criteria":"cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:*","part":"o","vendor":"d-link","product":"dir-822_firmware","version":"202krb06"}],"cpes_truncated":false,"vendors":["d-link"],"products":["d-link/dir-818lw_firmware","d-link/dir-822_firmware"],"epss":{"score":0.41606,"percentile":0.99003,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"network","platform":"appliance","eol":false,"packages":[],"severity":"critical","priority_score":78,"links":{"html_es":"/es/cve/CVE-2018-19986/","html_en":"/en/cve/CVE-2018-19986/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-19986","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-19986"},"untrusted":{"vendor_name":"D-link","product_name":"Dir-818lw Firmware","desc_en":"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":[],"references":[{"url":"https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990","tags":["Exploit","Third Party Advisory"]}]}}