CVE-2025-2767
Published: 23 April 2025
Summary
CVE-2025-2767 is a critical-severity Cross-site Scripting (CWE-79) vulnerability in Arista Ng Firewall. Its CVSS base score is 9.6 (Critical).
Operationally, ranked in the top 29.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2025-2767 is a cross-site scripting vulnerability in Arista NG Firewall that permits remote code execution. The flaw resides in the handling of the User-Agent HTTP header, where insufficient validation of supplied data allows injection of an arbitrary script. Successful exploitation grants code execution in the root context on affected installations.
Remote attackers can trigger the issue over the network with minimal user interaction required. The attack leverages a reflected or stored script payload in the header to achieve full compromise, corresponding to a CVSS 3.1 score of 9.6 under CWE-79.
The Zero Day Initiative published advisory ZDI-25-181 detailing the issue as ZDI-CAN-24407.
EPSS for the vulnerability rose from a low baseline to a recorded peak of 0.0125, indicating that exploitation interest increased after public disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-12176
Vulnerability details
Arista NG Firewall User-Agent Cross-Site Scripting Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Arista NG Firewall. Minimal user interaction is required to exploit this vulnerability. The specific flaw exists within…
more
the processing of the User-Agent HTTP header. The issue results from the lack of proper validation of user-supplied data, which can lead to the injection of an arbitrary script. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-24407.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.