← Back to CVE List
Vulnerability Intelligence Report
D-Link DIR-3040 HTTP Request Processing Referer Heap-Based Buffer Overflow Remote Code Execution Vulnerability

CVE-2023-41229

D-Link DIR-3040 HTTP Request Processing Referer Heap-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-3040 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the prog.cgi binary, 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 a user-supplied string before copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21671.

No Active Exploit Signals
CVSS Base Score
8.8
HIGH
Exploitability:2.9
Impact Score:5.9
EPSS Probability:0.85%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
Authentication
Weaponization
SSVC Action

Weaknesses (CWE)

CWE-122 ↗CWE-122: Heap-based Buffer Overflow

Affected Products & Versions

Vendor Product Affected Versions
D-Link DIR-3040 120B03 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.846%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityZero Day Initiative · Bug Bounty Provider · Japan
Reserved2023-08-24T19:16:24
Published2024-05-03T02:12:19
Patch Date2023-09-07
Last Updated2024-08-02T18:54:04

LINK COPIED TO CLIPBOARD