Severity
6.8MEDIUM
EPSS
0.5%
top 35.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 3

Description

D-Link DIR-3040 prog.cgi SetWan3Settings 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-3040 routers. Authentication is 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

CVSS vector

CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.9 | Impact: 5.9

Affected Packages2 packages

CVEListV5d-link/dir-3040120B03

Patches

🔴Vulnerability Details

2
CVEList
D-Link DIR-3040 prog.cgi SetWan3Settings Stack-Based Buffer Overflow Remote Code Execution Vulnerability2024-05-03
GHSA
GHSA-5683-vqrc-j724: D-Link DIR-3040 prog2024-05-03
CVE-2023-41218 (MEDIUM CVSS 6.8) | D-Link DIR-3040 prog.cgi SetWan3Set | cvebase.io