alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
msg:"ET WEB_SPECIFIC_APPS Wordpress NextGEN Gallery plugin test-head parameter XSS Attempt";
flow:established,to_server;
http.uri;
content:"/wp-content/plugins/nextgen-gallery/nggallery.php?"; nocase; fast_pattern;
content:"test-head="; nocase;
pcre:"/^.+?(?:on(?:(?:s(?:elec|ubmi)|rese)t|d(?:blclick|ragdrop)|(?:mouse|key)[a-z]|c(?:hange|lick)|(?:un)?load|focus|blur)|s(?:cript|tyle=))/Ri";
reference:url,packetstormsecurity.com/files/119360/WordPress-NextGEN-Gallery-1.9.10-Cross-Site-Scripting.html;
classtype:web-application-attack;
sid:2016194; rev:3;
metadata:affected_product Wordpress, affected_product Wordpress_Plugins, attack_target Web_Server, created_at 2013_01_12, deployment Datacenter, signature_severity Major, tag Wordpress, updated_at 2020_04_22;
)