alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Wavlink WL-WN579A3 Multiple Parameters Command Injection Attempt";
flow:established,to_server;
http.method;
content:"POST";
http.referer;
content:"wifi.wavlink.com";
http.request_body;
content:"page|3d|wan|26|Wan0T|3d|5|26|wan_type_4g|3d|AUTO4G|26|Second_wan_value|3d|STATIC"; fast_pattern;
pcre:"/(?:rwan_ip|rwan_mask|rwan_gateway)\x3d.*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24)|(\x26{2}|%26%26))+/R";
reference:url,lafdrew.github.io/2025/03/27/Remote-Command-Execution-in-adm-cgi-of-wavlink-WL-WN579A3-Device/;
classtype:attempted-admin;
sid:2062386; rev:1;
metadata:attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_15, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_15, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)