Buffer overflow in D-Link Dir-1935
CVE-2022-43625
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of SetStaticRouteIPv4Settings requests to the web management portal. When parsing the NetMask element, the process does not properly validate 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-16144.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 65.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- D-Link Dir-1935 — versions 1.03
- Dlink Dir-1935 Firmware — versions 1.03
Weakness classification (CWE)
References
- supportannouncement.us.dlink.com/announcement/publication.aspx (Patch, Vendor Advisory)
- www.zerodayinitiative.com/advisories/ZDI-22-1495/ (VDB Entry, Third Party Advisory)