Read the docs
TI-2018-14168 Aliases CVE-2018-19986GHSA-3phf-fpc4-v2qv

In the /HNAP1/SetRouterSettings message, the RemotePort parameter is vulnerable, and the…

Priority HIGH 70CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-78.

Summary

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.

Why it matters now

EPSS 0.41606 98th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:*2.05.b03VulnerableD-Link
cpe:2.3:h:dlink:dir-818lw:-:*:*:*:*:*:*:*not specified by NVDRunning onD-Link Japan K.K.
cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:*202krb06VulnerableD-Link
cpe:2.3:h:dlink:dir-822:-:*:*:*:*:*:*:*not specified by NVDRunning onD-Link Japan K.K.
  • cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:* Versions 2.05.b03 Vulnerable ·D-Link
  • cpe:2.3:h:dlink:dir-818lw:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·D-Link Japan K.K.
  • cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:* Versions 202krb06 Vulnerable ·D-Link
  • cpe:2.3:h:dlink:dir-822:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·D-Link Japan K.K.

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-19986
  2. 2026-10-03 Alias added: GHSA-3phf-fpc4-v2qv

References

  • TI-2018-14169 D-Link DIR-822 Rev.B 202KRb06, DIR-822 Rev.C 3.10B06, DIR-860L Rev.B 2.03.B03, DIR-868L… CVSS 3.0CRITICAL 9.8

Sources