CVE-2022-41140

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
26/01/2023
Last modified:
02/02/2023

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13796.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:dlink:dir-882-us_firmware:*:*:*:*:*:*:*:* 1.30b07 (including)
cpe:2.3:h:dlink:dir-882-us:-:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dir-867_firmware:*:*:*:*:*:*:*:* 1.30b08 (including)
cpe:2.3:h:dlink:dir-867:-:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dir-878_firmware:*:*:*:*:*:*:*:* 1.30b06 (including)
cpe:2.3:h:dlink:dir-878:-:*:*:*:*:*:*:*