alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Arista runTroubleshooting HOST Parameter Command Injection Attempt (CVE-2025-6978)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:15;
content:"/admin/JSON-RPC";
http.request_body; strip_whitespace;
content:"|22|method|22|";
content:".runTroubleshooting"; within:100; fast_pattern;
content:"|22|params|22 3a 5b 22|DNS|22|";
content:"|22|HOST|22|";
pcre:"/^(?:\x3a(?:\x20\x22|\x22))?[^\x2c\x7d$]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,www.zerodayinitiative.com/blog/2026/2/4/cve-2025-6978-arbitrary-code-execution-in-the-arista-ng-firewall;
reference:cve,2025-6978;
classtype:attempted-admin;
sid:2067346; rev:2;
metadata:affected_product Arista, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_02_05, cve CVE_2025_6978, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_07_31, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)