alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Mitel webconfig upload_ringtone Unauthenticated Command Injection/File Upload Attempt (CVE-2025-47188, CVE-2025-47187)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/webconfig|3f|"; startswith;
content:"page|3d|upload_ringtone"; fast_pattern;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|upload_ringtone/newfile|22 3b 20|filename|3d 22|";
content:"RIFF|24|"; distance:0;
content:"WAVEfmt"; within:20;
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,labs.infoguard.ch/posts/cve-2025-47188_mitel_phone_unauthenticated_rce/;
reference:cve,2025-47188;
reference:cve,2025-47187;
classtype:web-application-attack;
sid:2063686; rev:1;
metadata:affected_product Mitel, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_07_23, cve CVE_2025_47188_CVE_2025_47187, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_07_23, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)