alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Roundcube Webmail Cross-Site Scripting (CVE-2024-42009)";
flow:established,to_server;
http.request_body;
content:"message|3d|";
pcre:"/^.*?\x3cbody\x20[^\x3e]*?\x20on[a-z]+\x3d/R";
content:"email|3d|";
content:"content|3d|html"; fast_pattern;
content:"recipient|3d|";
http.method;
content:"POST";
reference:url,www.sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/;
reference:cve,2024-42009;
classtype:web-application-attack;
sid:2066621; rev:1;
metadata:affected_product Roundcube, attack_target Server, tls_state TLSDecrypt, created_at 2026_01_08, cve CVE_2024_42009, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2026_01_08, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)