Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-41224 Details

Description

D-Link DIR-3040 prog.cgi SetDeviceSettings 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-21650.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-787Out-of-bounds Write[email protected]
CWE-121Stack-based Buffer Overflow[email protected]

Affected Products

ProductVersions
dlink dir-3040 firmware
<= 1.20b03

CPE

  • cpe:2.3:o:dlink:dir-3040_firmware:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
dlink dir-3040
All versions

CPE

  • cpe:2.3:h:dlink:dir-3040:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-41224
NVD Published Date:
May 3, 2024
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2023-41224 Details - Not Deferred