CVE-2022-41140

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dir-882-us_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-882-us:-:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:o:dlink:dir-867_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-867:-:*:*:*:*:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:o:dlink:dir-878_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-878:-:*:*:*:*:*:*:*

History

21 Nov 2024, 07:22

Type Values Removed Values Added
Summary
  • (es) 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.
References () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 - Patch, Vendor Advisory () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 - Patch, Vendor Advisory
References () https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ - Third Party Advisory, VDB Entry () https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ - Third Party Advisory, VDB Entry

Information

Published : 2023-01-26 18:59

Updated : 2024-11-21 07:22


NVD link : CVE-2022-41140

Mitre link : CVE-2022-41140

CVE.ORG link : CVE-2022-41140


JSON object : View

Products Affected

dlink

  • dir-882-us_firmware
  • dir-867
  • dir-882-us
  • dir-878
  • dir-867_firmware
  • dir-878_firmware
CWE
CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write