CVE-2024-12830 Arista NG Firewall custom_handler Directory Traversal Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code on Arista NG Firewall via directory traversal in custom_handler without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12830?
CVE-2024-12830 is a high-severity path traversal vulnerability in Arista NG Firewall, published on 20 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2024-12830?
It affects 1 product.
Products include Arista Ng Firewall.
How do I fix CVE-2024-12830?
No fix has been published for CVE-2024-12830 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-12830 being exploited?
There is no known exploitation of CVE-2024-12830 in the wild and no public exploit code.
Other vulnerabilities in Arista NG Firewall
- CVE-2025-2767 Arista NG Firewall User-Agent Cross-Site Scripting Remote Code Execution Vulnerability
- CVE-2024-9188 Specially constructed queries cause cross platform scripting leaking administrator tokens
- CVE-2024-27889 SQL injection in Arista Edge Threat Management - Arista NG Firewall (NGFW)
- CVE-2024-47519 Backup uploads to ETM subject to man-in-the-middle interception
- CVE-2024-9134 SQL injection in Arista Edge Threat Management
Sources
Also known as GHSA-g2qv-6658-vpj8.