CVE-20XX-?
agent?

CVE-2018-19986

9.8 CRITICAL 42% exploit odds Drop everything No fix listed Injection Network gear

What it is

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.

At a glance

Exploitability
Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
Exploit odds
41.6% chance of exploitation in the next 30 days (EPSS). Higher than most.
Fix
No patch or advisory is linked yet. Look at mitigations or restrict exposure.

Timeline

  1. ReservedThe CVE id was reserved by its CNA
  2. PublishedDisclosed publicly on CVE.org and NVD
  3. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
41.6% · EPSS, next 30 days
Weakness
CWE-78 · OS command injection
Record status
Modified

Affected

Attack profile CVSS 3.0 · 9.8

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Raw vector

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

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2018-19986.md and follow it. Check whether this project is affected by CVE-2018-19986. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2018-19986
Download Square Reddit

References

NVD record · CVE.org record