alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT [Rapid7] Zyxel ZTP setWanPortSt mtu Parameter Exploit Attempt (CVE-2022-30525)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/ztp/cgi-bin/handler"; fast_pattern; bsize:20;
http.request_body;
content:"setWanPortSt";
content:"mtu";
pcre:"/^["']\s*:\s*["']\s*[^0-9]+/Ri";
reference:cve,2022-30525;
reference:url,www.rapid7.com/blog/post/2022/05/12/cve-2022-30525-fixed-zyxel-firewall-unauthenticated-remote-command-injection/;
classtype:misc-attack;
sid:2036596; rev:2;
metadata:attack_target Networking_Equipment, created_at 2022_05_16, cve CVE_2022_30525, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_09_30, reviewed_at 2024_09_12;
)