alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
msg:"ET WEB_SPECIFIC_APPS SimpleInvoices having parameter Cross Site Scripting Attempt";
flow:established,to_server;
http.uri;
content:"/index.php?"; nocase;
content:"module="; nocase;
content:"view="; nocase;
content:"having="; nocase; fast_pattern;
pcre:"/having\x3d.+?(?:on(?:(?:s(?:elec|ubmi)|rese)t|d(?:blclick|ragdrop)|(?:mouse|key)[a-z]|c(?:hange|lick)|(?:un)?load|focus|blur)|s(?:cript|tyle=))/i";
reference:url,packetstormsecurity.org/files/118737/SimpleInvoices-2011.1-Cross-Site-Scripting.html;
classtype:web-application-attack;
sid:2016040; rev:4;
metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2012_12_14, deployment Datacenter, signature_severity Major, tag XSS, tag Cross_Site_Scripting, updated_at 2020_09_18;
)