D-Link DIR2640 HNAP1 LocalIPAddress Injection Root RCE
CVE-2023-32147 Published on May 3, 2024
D-Link DIR-2640 LocalIPAddress Command Injection Remote Code Execution Vulnerability
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.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2023-32147 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2023-32147
Want to know whenever a new CVE is published for D-Link Dir 2640 Firmware? stack.watch will email you.
Affected Versions
D-Link DIR-2640:- Version 1.11B02 (non-US, CA version) is affected.
- Before and including 1.11b02 is affected.
- Before and including 1.11b02 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.