RCE in D-Link Dir-2640
CVE-2023-32150
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. The 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. . Was ZDI-CAN-19547.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.237 (97.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.234 · newest: 0.237 · change: +0.003
Affected products
- D-Link Dir-2640 — versions 1.11B02 (non-US, CA version)
- Dlink Dir-2640
- Dlink Dir-2640 Firmware — versions 1.11b02
Weakness classification (CWE)
References
- www.zerodayinitiative.com/advisories/ZDI-23-542/ (x_research-advisory, Third Party Advisory)
- supportannouncement.us.dlink.com/announcement/publication.aspx (Product, vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-32150?
- CVE-2023-32150 is a medium-severity vulnerability in D-Link Dir-2640, classified under OS Command Injection. CVSS score: 6.8/10. Published 2024-05-03.
- How severe is CVE-2023-32150?
- Medium severity. CVSS v3 base score is 6.8 out of 10.