Skip to content
RCE Advisory Advanced CVE-2025-6978

Arista NG Firewall runTroubleshooting Command Injection Remote Code Execution Vulnerability

The runTroubleshooting method in Arista NG Firewall fails to validate a user-supplied string before using it in a system call, allowing an authenticated attacker to execute arbitrary commands as root. Authentication can be bypassed, so remote attackers may exploit this without valid credentials.

Gereon Huppertz Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Arista NG Firewall. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

Gereon Huppertz, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the runTroubleshooting method passes user-controlled input directly to a system shell without sanitisation or validation.

Impact

An attacker could execute arbitrary code with root privileges on the firewall, potentially taking full control of the device; authentication is required but can be bypassed.

What the attacker needed

Authentication (bypassable); network access to the firewall

The fix

Arista has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a command injection bug: a part of the firewall's web interface takes text from a user and passes it to the operating system without checking it. An attacker can sneak in extra system commands, and because the program runs with high privileges, those commands run as the all-powerful root user. The report also says the login check can be bypassed, so even outsiders might reach the vulnerable function.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Gereon Huppertz

View all

4 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.