alert http $EXTERNAL_NET any -> $HOME_NET 8160 (
msg:"ET WEB_SPECIFIC_APPS Juniper PTX Series On-Box Anomaly Detection Framwork Command Injection Attempt (CVE-2026-21902) M1";
flow:established,to_server;
http.uri;
content:"/config/command/"; startswith; fast_pattern;
http.content_type;
content:"application/json"; nocase;
http.request_body;
content:"|22|syntax|22 3a|";
content:"|22|type|22 3a|";
content:"|22|RE-SHELL|22 2c|"; within:15;
content:"|22|parsing|22 3a|";
content:"|22|outputs|22 3a|";
content:"|22|result|22 3a|";
content:"|7b 22|type|22 3a|"; within:15;
content:"|22|str|22 7d|"; within:10;
content:"|22|doc|22 3a|";
reference:url,labs.watchtowr.com/sometimes-you-can-just-feel-the-security-in-the-design-junos-os-evolved-cve-2026-21902-rce/;
reference:cve,2026-21902;
classtype:attempted-admin;
sid:2067997; rev:2;
metadata:affected_product JunOS, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_03_03, cve CVE_2026_21902, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_05_15, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)