alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Netgear R6850 Command Injection via c4_IPAddr Parameter Attempt (CVE-2024-30568)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/setup.cgi|3f|"; startswith;
http.request_body;
content:"todo|3d|ping_test"; fast_pattern;
content:"c4_IPAddr|3d|";
pcre:"/^.*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24)|(?:\x26|%26){2})+/R";
content:"next_file|3d|diagping.htm";
reference:cve,2024-30568;
reference:url,github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-30568.yaml;
classtype:attempted-admin;
sid:2061410; rev:1;
metadata:affected_product Netgear_Router, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_04_09, cve CVE_2024_30568, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_09, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)