CVE-2024-12830
JSON

8.1high

Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability

Severity
8.1high CVSS:3.0 by zdi
Exploit likelihood
1.02% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

Description

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.

Affected

Product or packageVersionsReported by
Arista NG Firewall17.1.1CVE List
arista ng_firewall17.1.1NVD

All scores

zdi8.1high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12830 changed 2024-12-20CVE Terms of Use
NVDCVE-2024-12830 changed 2026-06-17Public domain