alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Ruijie Network Switches Unauthenticated Command Execution";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/EXCU_SHELL"; fast_pattern;
http.header_names;
content:"|0d 0a|Cmdnum|0d 0a|";
content:"|0d 0a|Command1|0d 0a|";
content:"|0d 0a|Confirm1|0d 0a|";
reference:url,www.exploit-db.com/exploits/51888;
classtype:attempted-admin;
sid:2051667; rev:1;
metadata:affected_product Ruijie_Network_Products, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_03_15, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, updated_at 2024_03_15, reviewed_at 2024_10_03, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
target:dest_ip;
)