alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Stored XSS Vulnerability CVE-2021-31250 M2";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/dhcp.cgi?redirect=setting.htm";
content:"TF_hostname=|2f 22 3e 3c|img|20|src|3d 22 23 22 3e|"; fast_pattern;
reference:cve,2021-31250;
reference:url,packetstormsecurity.com/files/162887/CHIYU-IoT-Cross-Site-Scripting.html;
classtype:web-application-attack;
sid:2033350; rev:1;
metadata:attack_target Client_Endpoint, created_at 2021_07_16, cve CVE_2021_31250, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_07_16;
)