alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Nagios Expand Parameter Cross Site Scripting Attempt";
flow:established,to_server;
http.uri;
content:"/nagios/cgi-bin/config.cgi"; nocase;
content:"type=command&expand="; fast_pattern; nocase;
pcre:"/^.+(?:script|alert|onmouse[a-z]+|onkey[a-z]+|onload|onunload|ondragdrop|onblur|onfocus|onclick|ondblclick|onsubmit|onreset|onselect|onchange)/Ri";
reference:bid,48087;
reference:cve,2011-2179;
classtype:web-application-attack;
sid:2013095; rev:3;
metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2011_06_22, cve CVE_2011_2179, deployment Datacenter, signature_severity Major, tag XSS, tag Cross_Site_Scripting, updated_at 2020_04_20;
)