๐Ÿ” CVE Alert

CVE-2023-41226

MEDIUM 6.8

D-Link DIR-3040 prog.cgi SetMyDLinkRegistration Stack-Based Buffer Overflow Remote Code Execution Vulnerability

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

D-Link DIR-3040 prog.cgi SetMyDLinkRegistration 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-21652.

CWE CWE-121
Vendor d-link
Product dir-3040
Published May 3, 2024
Last Updated Aug 2, 2024
Stay Ahead of the Next One

Get instant alerts for d-link dir-3040

Be the first to know when new medium vulnerabilities affecting d-link dir-3040 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected Versions

D-Link / DIR-3040
120B03

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
zerodayinitiative.com: https://www.zerodayinitiative.com/advisories/ZDI-23-1334/ supportannouncement.us.dlink.com: https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350