alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Smartbedded MeteoBridge Unauthenticated Remote Code Execution (CVE-2025-4008)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/cgi-bin/template.cgi|3f|"; fast_pattern;
content:"templatefile|3d|";
pcre:"/^[^\x26]*?(?:[\x3b\x24\x27\x60\x7c]|\x25(?:3[bB]|2[47]|60|7[cC]))/R";
reference:url,www.onekey.com/resource/security-advisory-remote-command-execution-on-smartbedded-meteobridge-cve-2025-4008;
reference:cve,2025-4008;
classtype:web-application-attack;
sid:2062619; rev:1;
metadata:attack_target Server, created_at 2025_05_29, cve CVE_2025_4008, deployment Perimeter, deployment Internal, 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;
)