alert http $EXTERNAL_NET any -> any any (
msg:"ET EXPLOIT QNAP PhotoStation Pre-Auth Local File Disclosure Attempt";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/p/api/video.php"; endswith; fast_pattern;
http.header;
content:"QMS_SID=";
http.request_body;
content:"./../";
reference:url,medium.com/bugbountywriteup/qnap-pre-auth-root-rce-affecting-450k-devices-on-the-internet-d55488d28a05;
classtype:attempted-admin;
sid:2030202; rev:1;
metadata:created_at 2020_05_21, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_05_21;
)