alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS FreePBX SSH testconnection Multiple Parameters Command Injection Attempt (CVE-2025-64328)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/admin/ajax.php|3f|"; startswith;
content:"module|3d|filestore"; fast_pattern;
content:"command|3d|testconnection";
content:"driver|3d|SSH";
pcre:"/(?:host|user|port|key|path)\x3d[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/";
reference:url,theyhack.me/CVE-2025-64328-FreePBX-Authenticated-Command-Injection/;
reference:cve,2025-64328;
classtype:attempted-admin;
sid:2067278; rev:1;
metadata:affected_product FreePBX, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_02_03, cve CVE_2025_64328, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_02_03, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)