{"id":"CVE-2018-5371","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"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.0…","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.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":9,"version":"2.0","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-78"],"remote":true,"remote_unauth":false,"epss":{"score":0.41987,"percentile":0.98723,"date":"2026-12-04"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://www.iplantom.com/2018/01/10/dsl2640U/","kind":"exploit"}],"workarounds":null,"vendors":["d-link"],"products":["dsl-2540u_firmware","dsl-2640u_firmware"],"cpes":["cpe:2.3:o:d-link:dsl-2540u_firmware:me_1.00:*:*:*:*:*:*:*","cpe:2.3:o:d-link:dsl-2640u_firmware:im_1.00:*:*:*:*:*:*:*","cpe:2.3:o:d-link:dsl-2640u_firmware:me_1.00:*:*:*:*:*:*:*"],"published_at":"2018-01-12T09:00:00.000Z","modified_at":"2026-06-17T02:00:12.287Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5371"}],"links":{"html":"https://flawdb.com/CVE-2018-5371","markdown":"https://flawdb.com/CVE-2018-5371.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-5371"}}