alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT NetGear R6700v3 upnpd Buffer Overflow Inbound (CVE-2022-27643)";
flow:to_server,established;
http.method;
content:"POST";
http.header;
content:"SOAPAction|3a|"; nocase;
content:"urn:NETGEARROUTER:service:ParentalControl:1#Authenticate"; fast_pattern; nocase;
pcre:"/^SOAPAction\x3a\s?urn\x3aNETGEARROUTER\x3aservice\x3aParentalControl\x3a1#Authenticate/Hmi";
http.request_body;
content:"<NewMACAddress>"; nocase;
pcre:"/^[^<]{30,}<\/NewMACAddress>/Ri";
reference:url,blog.relyze.com/2022/03/cve-2022-27643-netgear-r6700v3-upnpd.html;
reference:cve,2022-27643;
classtype:attempted-admin;
sid:2035717; rev:1;
metadata:attack_target Networking_Equipment, created_at 2022_04_03, cve CVE_2022_27643, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, updated_at 2022_04_03;
)