alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET WEB_SPECIFIC_APPS UniFi Network Application Unauthenticated Path Traversal (CVE-2026-22557)";
flow:established,to_server;
http.uri;
content:"/guest/s/default/login|3f|"; fast_pattern;
content:"page_error|3d|";
pcre:"/^[^\x26]*?(?:(?:\x2e|%+(?:25)?2[Ee]|%+(?:25)?32%+(?:25)?[46]5){1,2}(?:\x2f|\x5c|%+(?:25)?(?:25)?5[Cc]|%+(?:25)?2[Ff]){1,}){2,}/R";
http.referer;
content:"/guest/s/default";
reference:url,github.com/ThePotatoOfDoom/CVE-2026-22557-PoC;
reference:cve,2026-22557;
classtype:web-application-attack;
sid:2070135; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2026_07_01, cve CVE_2026_22557, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2026_07_01, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)