CVE-2024-12830

Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Arista NG Firewall. Authentication is not required to exploit this vulnerability. The specific flaw exists within the implementation of the custom_handler method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the www-data user. Was ZDI-CAN-24019.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:arista:ng_firewall:17.1.1:*:*:*:*:*:*:*

History

03 Jan 2025, 17:47

Type Values Removed Values Added
CPE cpe:2.3:a:arista:ng_firewall:17.1.1:*:*:*:*:*:*:*
References () https://www.zerodayinitiative.com/advisories/ZDI-24-1718/ - () https://www.zerodayinitiative.com/advisories/ZDI-24-1718/ - Third Party Advisory
Summary
  • (es) Vulnerabilidad de ejecución remota de código mediante el método custom_handler en Arista NG Firewall. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Arista NG Firewall. No se requiere autenticación para explotar esta vulnerabilidad. La falla específica existe dentro de la implementación del método custom_handler. El problema es el resultado de la falta de validación adecuada de una ruta proporcionada por el usuario antes de usarla en operaciones con archivos. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del usuario www-data. Era ZDI-CAN-24019.
CVSS v2 : unknown
v3 : 8.1
v2 : unknown
v3 : 7.3
First Time Arista
Arista ng Firewall

20 Dec 2024, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-20 01:15

Updated : 2025-01-03 17:47


NVD link : CVE-2024-12830

Mitre link : CVE-2024-12830

CVE.ORG link : CVE-2024-12830


JSON object : View

Products Affected

arista

  • ng_firewall
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')