RCE in D-Link Dir-2640

CVE-2023-32147

D-Link DIR-2640 LocalIPAddress 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 LocalIPAddress 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-19544.

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.018 (77.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 77.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-32147: held from 0.018 to 0.018.

EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-32147?
CVE-2023-32147 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-32147?
Medium severity. CVSS v3 base score is 6.8 out of 10.