HOMEVULNERABILITIESCVE-2018-5371
HIGH

CVE-2018-5371

CWE-78Published: January 12, 2018· Updated: Jun 17, 2026

8.8
CVSS v3.1

Official Description

diag_ping.cmd on D-Link DSL-2640U devices with firmware IM_1.00 and ME_1.00, and DSL-2540U devices with firmware ME_1.00, allows authenticated remote attackers to execute arbitrary OS commands via shell metacharacters in the ipaddr field of an HTTP GET request.

NVD Source

Technical Analysis

CVE-2018-5371 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

d-link2 product(s)
dsl-2540u firmwaredsl-2640u firmware
dlink2 product(s)
dsl-2540udsl-2640u
Source: NVD CPE · 5 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (2)

https://www.iplantom.com/2018/01/10/dsl2640U/Exploit · Technical Description · Third Party Advisory · URL Repurposed
https://www.iplantom.com/2018/01/10/dsl2640U/Exploit · Technical Description · Third Party Advisory · URL Repurposed

Quick Facts

CVE IDCVE-2018-5371
CVSS Score8.8 / 10
SeverityHIGH
WeaknessCWE-78
CISA KEVNo
Affected2 vendor(s)
PublishedJan 12, 2018

Related CVEs (CWE-78)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-5371 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.