CVE-2022-41140
D-Link Multiple Routers lighttpd 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 multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 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-13796.
Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de múltiples routers D-Link. No se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe dentro del servicio lighttpd, que escucha en el puerto TCP 80 de forma predeterminada. El problema se debe a la falta de una validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos en un búfer basado en pila de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la raíz. Era ZDI-CAN-13796.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the lighttpd service, which listens on TCP port 80 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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-09-20 CVE Reserved
- 2022-09-20 CVE Published
- 2024-07-08 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-121: Stack-based Buffer Overflow
- CWE-787: Out-of-bounds Write
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://www.zerodayinitiative.com/advisories/ZDI-22-1290 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 | 2023-02-02 |
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-882-us Firmware Search vendor "Dlink" for product "Dir-882-us Firmware" | <= 1.30b07 Search vendor "Dlink" for product "Dir-882-us Firmware" and version " <= 1.30b07" | - |
Affected
| in | Dlink Search vendor "Dlink" | Dir-882-us Search vendor "Dlink" for product "Dir-882-us" | - | - |
Safe
|
Dlink Search vendor "Dlink" | Dir-867 Firmware Search vendor "Dlink" for product "Dir-867 Firmware" | <= 1.30b08 Search vendor "Dlink" for product "Dir-867 Firmware" and version " <= 1.30b08" | - |
Affected
| in | Dlink Search vendor "Dlink" | Dir-867 Search vendor "Dlink" for product "Dir-867" | - | - |
Safe
|
Dlink Search vendor "Dlink" | Dir-878 Firmware Search vendor "Dlink" for product "Dir-878 Firmware" | <= 1.30b06 Search vendor "Dlink" for product "Dir-878 Firmware" and version " <= 1.30b06" | - |
Affected
| in | Dlink Search vendor "Dlink" | Dir-878 Search vendor "Dlink" for product "Dir-878" | - | - |
Safe
|