alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Edimax IC-7100 Command Injection Attempt (CVE-2025-1316)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:27;
content:"/camera-cgi/admin/param.cgi"; fast_pattern;
http.header;
content:"Authorization|3a 20|Basic|20|YWRtaW4";
http.request_body;
content:"action|3d|update";
content:"ipcamSource|3d|";
content:"NTP_enable|3d|1";
content:"NTP_serverName|3d|";
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:cve,2025-1316;
reference:url,github.com/R00tS3c/DDOS-RootSec/blob/41e5009c8da9bd9fff94ffef34db218e51a55560/Botnets/Exploits/Edimax/poc.go;
classtype:attempted-admin;
sid:2060968; rev:1;
metadata:affected_product DVR, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_03_20, cve CVE_2025_1316, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_03_20, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)