D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability
Published May 3, 2024
6.8
MEDIUMCVSS 3.0
EPSS 26.89%
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.
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.
Affected products
-
- Version 1.11B02 (non-US, CA version)StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| D-Link | n/a | n/a |
|
- 1.11b02
-
- Version 0StatusaffectedConstraints<=1.11b02
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| D-Link | Dir-2640 Firmware | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (2)
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 vendor-advisoryProductVendor Advisory
- https://www.zerodayinitiative.com/advisories/ZDI-23-542/ x_research-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 | vendor-advisoryProductVendor Advisory | |
| https://www.zerodayinitiative.com/advisories/ZDI-23-542/ | x_research-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.