CVE-2022-40717

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

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP ports 80 and 443 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-15727.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:dlink:dir-2150_firmware:*:*:*:*:*:*:*:* 4.0.1 (including)
cpe:2.3:h:dlink:dir-2150:-:*:*:*:*:*:*:*