CVE-2022-43625
D-Link DIR-1935 SetStaticRouteIPv4Settings NetMask Stack-based Buffer Overflow Remote Code Execution Vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-10-21 CVE Reserved
- 2022-11-03 CVE Published
- 2023-12-31 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-121: Stack-based Buffer Overflow
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://www.zerodayinitiative.com/advisories/ZDI-22-1495 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10310 | 2023-11-08 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Dlink Search vendor "Dlink" | Dir-1935 Firmware Search vendor "Dlink" for product "Dir-1935 Firmware" | <= 1.02 Search vendor "Dlink" for product "Dir-1935 Firmware" and version " <= 1.02" | - |
Affected
| in | Dlink Search vendor "Dlink" | Dir-1935 Search vendor "Dlink" for product "Dir-1935" | - | - |
Safe
|
Dlink Search vendor "Dlink" | Dir-1935 Firmware Search vendor "Dlink" for product "Dir-1935 Firmware" | 1.03 Search vendor "Dlink" for product "Dir-1935 Firmware" and version "1.03" | b1 |
Affected
| in | Dlink Search vendor "Dlink" | Dir-1935 Search vendor "Dlink" for product "Dir-1935" | - | - |
Safe
|
Dlink Search vendor "Dlink" | Dir-1935 Firmware Search vendor "Dlink" for product "Dir-1935 Firmware" | 1.03 Search vendor "Dlink" for product "Dir-1935 Firmware" and version "1.03" | b2 |
Affected
| in | Dlink Search vendor "Dlink" | Dir-1935 Search vendor "Dlink" for product "Dir-1935" | - | - |
Safe
|