CVE-2022-40717Dlink Dir-2150 Firmware
High 8.8 No auth needed
Follow: this CVE · Dlink · Dlink Dir-2150 Firmware We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Jan 26, 2023
- Updated
- Jun 17, 2026
- Category
- Network & edge · Network appliance
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dir-2150 Firmware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dlink | dir-2150_firmware | ≤ 4.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- supportannouncement.us.dlink.com Patch Vendor Advisory
- www.zerodayinitiative.com Third Party Advisory VDB Entry