{"id":"CVE-2023-32150","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-32150","generatedAt":"2026-10-28T02:18:02.699Z","title":"D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability.","description":"D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.\n\nThe specific flaw exists within the handling of the PrefixLen parameter provided to the HNAP1 endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.\n. Was ZDI-CAN-19547.","published":"2024-05-03T02:15:19.000Z","lastModified":"2026-06-17T05:58:12.000Z","status":"Analyzed","sourceIdentifier":"zdi-disclosures@trendmicro.com","cvss":{"version":"3.0","score":6.8,"severity":"MEDIUM","vector":"CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["dlink/dir-2640 firmware"],"epss":{"score":0.26892,"percentile":0.98022,"date":"2026-10-26","history":[{"date":"2026-10-02","score":0.26892,"percentile":0.97981}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 26.9%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323","tags":["Product","Vendor Advisory"],"source":"zdi-disclosures@trendmicro.com"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-542/","tags":["Third Party Advisory"],"source":"zdi-disclosures@trendmicro.com"},{"url":"https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323","tags":["Product","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-542/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-32150","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}