alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS IPFire calamaris.dat Multiple Parameters Command Injection Attempt (CVE-2025-34311)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:31;
content:"/cgi-bin/logs.cgi/calamaris.dat"; fast_pattern;
http.request_body;
pcre:"/(?:(?:DAY|MONTH|YEAR)_(?:BEGIN|END)|NUM_(?:CONTENT|HOSTS|URLS|DOMAINS)|HIST_LEVEL|PERF_INTERVAL|BYTE_UNIT)\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/";
reference:url,bugzilla.ipfire.org/attachment.cgi?id=1663;
reference:cve,2025-34311;
classtype:attempted-admin;
sid:2065594; rev:1;
metadata:affected_product IPFire, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_10_30, cve CVE_2025_34311, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_10_30, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)