You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
Zero Day Initiative AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Added
CWE
Zero Day Initiative CWE-121
Added
Description
D-Link DIR-3040 prog.cgi SetWanSettings 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 a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21619.
Added
Reference
Zero Day Initiative https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350 [No types assigned]
Added
Reference
Zero Day Initiative https://www.zerodayinitiative.com/advisories/ZDI-23-1327/ [No types assigned]