alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE Potential Juniper Reflected XSS Attempt (CVE-2022-22242)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/error.php?"; startswith;
content:"|3d 3c|script|3e|alert|28|0|29 3c 2f|script|3e|"; distance:0; fast_pattern;
reference:url,octagon.net/blog/2022/10/28/juniper-sslvpn-junos-rce-and-multiple-vulnerabilities/;
reference:cve,2022-22242;
classtype:trojan-activity;
sid:2039598; rev:1;
metadata:attack_target Server, created_at 2022_10_28, cve CVE_2022_22242, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_10_28;
)