alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS ServiceNow Command Injection Attempt (CVE-2024-5217,2024-4879) M3";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/login.do"; startswith;
content:"jvar_page_title|3d|"; distance:0; fast_pattern;
pcre:"/^.*?(?:javascript|style)/R";
reference:cve,2024-5217;
reference:cve,2024-4879;
reference:url,www.assetnote.io/resources/research/chaining-three-bugs-to-access-all-your-servicenow-data;
reference:url,www.resilientx.com/blog/cve-2024-5217-servicenow-vulnerability;
classtype:attempted-admin;
sid:2060428; rev:1;
metadata:affected_product ServiceNow, attack_target Server, tls_state plaintext, created_at 2025_02_27, cve CVE_2024_5217, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_02_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)