alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Possible Netgear DGN2200 RCE (CVE-2017-6077)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/ping.cgi"; depth:9; endswith;
http.header;
content:"DIAG_diag.htm|0d 0a|"; fast_pattern;
http.request_body;
content:"&ping_IPAddr=";
content:"|3b|"; distance:0;
reference:url,www.exploit-db.com/exploits/41394;
reference:cve,2017-6077;
classtype:attempted-user;
sid:2027093; rev:3;
metadata:attack_target IoT, created_at 2019_03_18, cve CVE_2017_6077, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, tag CISA_KEV, updated_at 2020_09_16;
)