alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Edimax BR-6478AC V3 formDiskCreateShare foldername Parameter Command Injection Attempt (CVE-2025-28142)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:27;
content:"/boafrm/formDiskCreateShare"; fast_pattern;
http.request_body;
content:"folderpath|3d|";
content:"samba_user1|3d|";
content:"permission|3d|";
content:"Add_Share_Folder|3d|";
content:"submit_url|3d|";
content:"foldername|3d|";
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:cve,2025-28142;
reference:url,gist.github.com/regainer27/fb033d40b9d0245c36e520eeb34b7e76;
classtype:attempted-admin;
sid:2061609; rev:1;
metadata:affected_product Edimax, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_04_15, cve CVE_2025_28142, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_15, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)