alert http $EXTERNAL_NET any -> any any (
msg:"ET EXPLOIT QNAP PhotoStation Authenticated Session Tampering Attempt";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"sysRequest.cgi"; endswith;
http.request_body;
content:"smtp_fw_update="; startswith; fast_pattern;
content:"=<?"; distance:0;
reference:url,medium.com/bugbountywriteup/qnap-pre-auth-root-rce-affecting-450k-devices-on-the-internet-d55488d28a05;
classtype:attempted-admin;
sid:2030204; rev:1;
metadata:created_at 2020_05_21, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_05_21;
)