D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability
Published May 23, 2024
8.8
HIGHCVSS 3.0
EPSS 1.61%
Description
D-Link DIR-2640 HTTP Referer Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640-US routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within prog.cgi, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21853.
Affected products
-
- Version 1.11B02_BETA02StatusaffectedConstraints-
- 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 1.11b02StatusaffectedConstraints-
- 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed May 24, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.61% (0.01606) | 75.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.61% (0.01606) | 72.65th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.53% (0.00533) | 64.69th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.02% (0.02021) | 72.95th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.53% (0.00533) | 65.35th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00065) | 30.89th | v3 (v2023.03.01) |
| May 26, 2024 | 0.07% (0.00065) | 28.55th | v3 (v2023.03.01) |
| May 24, 2024 | 0.04% (0.00043) | 8.66th | v3 (v2023.03.01) |
References (1)
- https://www.zerodayinitiative.com/advisories/ZDI-24-444/ x_research-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-24-444/ | x_research-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.