CVE-2023-51620

D-Link DIR-X3260 prog.cgi SetIPv6PppoeSettings Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-X3260 routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21669.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dir-x3260_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-x3260:-:*:*:*:*:*:*:*

History

22 Nov 2024, 21:35

Type Values Removed Values Added
CPE cpe:2.3:o:dlink:dir-x3260_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-x3260:-:*:*:*:*:*:*:*
First Time Dlink
Dlink dir-x3260
Dlink dir-x3260 Firmware
CWE CWE-787
References () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10365 - () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10365 - Vendor Advisory
References () https://www.zerodayinitiative.com/advisories/ZDI-24-040/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-040/ - Third Party Advisory

21 Nov 2024, 08:38

Type Values Removed Values Added
Summary
  • (es) D-Link DIR-X3260 prog.cgi SetIPv6PppoeSettings Vulnerabilidad de ejecución remota de código de desbordamiento de búfer en la región stack de la memoria. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de enrutadores D-Link DIR-X3260. Se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe dentro del binario prog.cgi, que maneja las solicitudes HNAP realizadas al servidor web lighttpd que escucha en los puertos TCP 80 y 443. El problema se debe a la falta de validación adecuada de una cadena proporcionada por el usuario antes de copiarla 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-21669.
References () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10365 - () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10365 -
References () https://www.zerodayinitiative.com/advisories/ZDI-24-040/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-040/ -

03 May 2024, 03:16

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-03 03:16

Updated : 2024-11-22 21:35


NVD link : CVE-2023-51620

Mitre link : CVE-2023-51620

CVE.ORG link : CVE-2023-51620


JSON object : View

Products Affected

dlink

  • dir-x3260
  • dir-x3260_firmware
CWE
CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write