PT-2023-5545 · D Link+1 · D-Link Dir-3040+1

Nicholas Zubrisky

+1

·

Published

2023-09-07

·

Updated

2025-05-15

·

CVE-2023-41216

CVSS v2.0

7.7

High

VectorAV:A/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions D-Link DIR-3040 (affected versions not specified)
Description The issue exists due to the lack of proper validation of a user-supplied string before copying it to a fixed-length stack-based buffer in the prog.cgi file. This allows a remote attacker to execute arbitrary code in the context of root. The specific flaw is within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. Authentication is required to exploit this vulnerability.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

RCE

Stack Overflow

Buffer Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

BDU:2023-06196
CVE-2023-41216
ZDI-23-1324

Affected Products

D-Link Dir-3040
Lighttpd