CVE-2022-40717
HIGHD-Link DIR-2150 Firmware < 4.0.1 - Unauthenticated Remote Code Execution via Stack-Based Buffer Overflow
Title source: llmDescription
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.
References (2)
Core 2
Core References
Patch, Vendor Advisory
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304
Third Party Advisory, VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-1220/
Scores
CVSS v3
8.8
EPSS
0.0161
EPSS Percentile
82.0%
Attack Vector
ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-121
CWE-787
Status
published
Products (1)
dlink/dir-2150_firmware
< 4.0.1
Published
Jan 26, 2023
Tracked Since
Feb 18, 2026