alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Stored XSS Vulnerability CVE-2021-31250 M1";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/if.cgi?redirect=setting.htm";
content:"TF_submask=|22 3e 3c|script|3e|alert|28|"; fast_pattern;
content:"|29 3c 2f|script|3e|"; distance:0;
reference:cve,2021-31250;
reference:url,packetstormsecurity.com/files/162887/CHIYU-IoT-Cross-Site-Scripting.html;
classtype:web-application-attack;
sid:2033349; rev:2;
metadata:attack_target Client_Endpoint, created_at 2021_07_16, cve CVE_2021_31250, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_07_16;
)