alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Apache ActiveMQ Web Console message jsp Cross-Site Scripting (CVE-2020-13947) M1";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/admin/message.jsp"; fast_pattern;
http.request_body;
content:"JMSDestination|3d|"; nocase;
pcre:"/^.+(script|onmouse[a-z]+|onkey[a-z]+|onerror|onload|onunload|ondragdrop|onblur|onfocus|onclick|ondblclick|onsubmit|onreset|onselect|onchange|style\x3d)/Ri";
reference:cve,2020-13947;
classtype:web-application-attack;
sid:2059303; rev:1;
metadata:affected_product Apache_ActiveMQ, attack_target Web_Server, tls_state TLSDecrypt, created_at 2025_01_17, cve CVE_2020_13947, deployment Perimeter, deployment Internal, deployment Datacenter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_01_17, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)