CVE-2023-51615

D-Link DIR-X3260 prog.cgi SetQuickVPNSettings PSK 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-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21592.
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:33

Type Values Removed Values Added
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-035/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-035/ - Third Party Advisory
First Time Dlink
Dlink dir-x3260
Dlink dir-x3260 Firmware
CPE cpe:2.3:o:dlink:dir-x3260_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-x3260:-:*:*:*:*:*:*:*
CWE CWE-787

21 Nov 2024, 08:38

Type Values Removed Values Added
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-035/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-035/ -
Summary
  • (es) D-Link DIR-X3260 prog.cgi SetQuickVPNSettings Vulnerabilidad de ejecución remota de código de desbordamiento de búfer en la región stack de la memoria PSK. 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-21592.

03 May 2024, 03:16

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-03 03:16

Updated : 2024-11-22 21:33


NVD link : CVE-2023-51615

Mitre link : CVE-2023-51615

CVE.ORG link : CVE-2023-51615


JSON object : View

Products Affected

dlink

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

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write