alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Squid Proxy user_name and auth Reflected Cross-Site Scripting (CVE-2019-13345)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/cgi-bin/cachemgr.cgi|3f|"; fast_pattern; startswith;
pcre:"/^.+(?:user_name|auth)\x3d.+(script|onmouse[a-z]+|onkey[a-z]+|onerror|onload|onunload|ondragdrop|onblur|onfocus|onclick|ondblclick|onsubmit|onreset|onselect|onchange|style\x3d)/Ri";
reference:url,www.sonicwall.com/blog/cve-2019-13345-squid-proxy-cross-site-scripting-vulnerability;
reference:cve,2019-13345;
classtype:web-application-attack;
sid:2059281; rev:1;
metadata:affected_product Squid, attack_target Networking_Equipment, tls_state TLSDecrypt, created_at 2025_01_16, cve CVE_2019_13345, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_01_16, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)