alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Netfax test.php g_ETHNAMESERVER2 Parameter Command Injection Attempt M2 (CVE-2025-48047)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/test.php"; startswith;
http.request_body;
content:"g_ETHNAMESERVER2|3d|"; fast_pattern;
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,www.rapid7.com/blog/post/2025/05/29/cve-2025-48045-cve-2025-48046-cve-2025-48047-mici-netfax-server-product-vulnerabilities-not-fixed/;
reference:cve,2025-48047;
classtype:attempted-admin;
sid:2062632; rev:1;
metadata:affected_product NetFax, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_29, cve CVE_2025_48047, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_29, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)