What’s Vulnerable › Vulnerabilities
CVE-2022-40717
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-26 · updated 2026-06-17
- Weakness: CWE-121
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.
Affected products
- D-Link DIR-2150: through 4.0.1
References
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304
- https://www.zerodayinitiative.com/advisories/ZDI-22-1220/
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304
- https://www.zerodayinitiative.com/advisories/ZDI-22-1220/
Get alerted when CVE-2022-40717 or the next vulnerability affects your stack