alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS H3C Magic NX15 /wizard Multiple Endpoints Command Injection Attempt (CVE-2025-2725)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/api/wizard/"; startswith; fast_pattern;
pcre:"/^(?:getNetworkConf|getNetworkStatus|networkSetup|getssidname|getDualBandSync|getWifiNeighbour|(?:get|set)syncpppoecfg|getCapability|getSpecs|(?:get|set)language|getCapabilityWeb)/R";
http.request_body; strip_whitespace;
content:"|22|cmd|22 3a 22|";
pcre:"/^[^\x22]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,yhuanhuan01.github.io;
reference:cve,2025-2725;
classtype:attempted-admin;
sid:2062264; rev:2;
metadata:affected_product H3C, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_05_12, cve CVE_2025_2725, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_07_30, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)