{"filters":{"filter":[{"rule":"(?:\"+.*>)|(?:\\s?\\\/>)|(?:>\")","description":"finds html breaking injections including whitespace attacks","tags":{"tag":["xss","csrf"]},"impact":"4"},{"rule":"(?:\"+.*[<=]\\s*\"[^\"]+\")|(?:\"\\w+\\s*=)|(?:>\\w=\\\/)|(?:#.+\\)[\"\\s]*>)","description":"finds attribute breaking injections including whitespace attacks","tags":{"tag":["xss","csrf"]},"impact":"4"},{"rule":"(?:^>[\\w\\s]*<\\\/?\\w{2,}>)","description":"finds unquoted attribute breaking injections","tags":{"tag":["xss","csrf"]},"impact":"2"},{"rule":"(?:(\\W|^)[\\s\\\/\"]+[-\\w\\\/\\\\\\*]+\\s*=.+[([\\\/\"])","description":"finds attribute breaking injections including obfuscated attributes","tags":{"tag":["xss","csrf"]},"impact":"4"},{"rule":"(?:;\\W*URL\\s*=)|(?:[^\\w\\s\\\/]\\s*(?:location|referrer|name)\\s*[^\\w\\s-])|(?:{[^:]+:[^}]+})","description":"Detects url-, name-, JSON, and referrer-contained payload attacks","tags":{"tag":["xss","csrf"]},"impact":"5"},{"rule":"(?:\\W\\s*hash\\s*[^\\w\\s-])|(?:\\w+=\\W*[^,]*,[^\\s(]\\s*\\()|(?:\\?\"[^\\s\"]\":)|(?:(?\\s*[,;.])","description":"Detects JavaScript with(), ternary operators and XML predicate attacks","tags":{"tag":["xss","csrf"]},"impact":"5"},{"rule":"(?:(?]*)t(?!rong))|(?:\\)|(?:\\\/\\*|\\*\\\/)|(?:(?:#|--|{)$)|(?:\\\/{3,}.*$)|(?:)","description":"Detects common comment types","tags":{"tag":["xss","csrf","id"]},"impact":"3"},{"rule":"(?:--.*>)|(?:opera\\s*\\.\\s*\\w+\\s*\\()","description":"Detects comments to exploit firefox' faulty rendering and proprietary opera attacks","tags":{"tag":["xss","csrf","id"]},"impact":"3"},{"rule":"(?:\\=]\\s*[\\d\"])|(?:\"\\s*[^\\w\\s]?=\\s*\")|(?:\"\\W*[+=]+\\W*\")|(?:\"\\s*[!=|][\\d\\s!=+-]+.*[\"(].*$)|(?:\"\\s*[!=|][\\d\\s!=]+.*\\d+$)|(?:\"\\s*LIKE[+-=\\s]+[\\d\"(])|(?:\\sis\\s*0\\W)","description":"Detects basic SQL authentication bypass attempts 1\/3","tags":{"tag":["sqli","id","lfi"]},"impact":"7"},{"rule":"(?:UNION\\s*(?:ALL)?\\s*[([]\\s*SELECT)|(?:LIKE\\s*\"\\%)|(?:\"\\s*LIKE\\W*[\"\\d])|(?:\"\\s*(?:AND|OR|XOR|NAND|NOT|\\|\\||\\&\\&)\\s+[\\s\\w]+=\\s*\\w+\\s*HAVING)|(?:(?:AND|OR|XOR|NAND|NOT|\\|\\||\\&\\&)\\s[\\w-]+\\s*[=&^].*[\"\\d])|(?:\"\\s*\\*\\s*\\w+\\W+\")","description":"Detects basic SQL authentication bypass attempts 2\/3","tags":{"tag":["sqli","id","lfi"]},"impact":"7"},{"rule":"(?:(?:AND|OR|XOR|NAND|NOT|\\|\\||\\&\\&)\\s+[\\s\\w+]+(?:REGEXP\\s*\\(|SOUNDS\\s+LIKE\\s*\"|[=\\d]+x))|(\"\\s*\\d\\s*(?:--|#))|(?:\"[%&<>^=]+\\d\\s*(=|OR))|(?:\"\\W+[\\w+-]+\\s*=\\s*\\d\\W+\")|(?:\"\\s*is\\s*\\d.+\"?\\w)|(?:\"\\|?[\\w-]{3,}[^\\w\\s]+\")|(?:\"\\s*is\\s*\\w\\s*\\W.*\")","description":"Detects basic SQL authentication bypass attempts 3\/3","tags":{"tag":["sqli","id","lfi"]},"impact":"7"},{"rule":"(?:^\\s*[;>\"]\\s*(?:UNION|SELECT|CREATE|RENAME|TRUNCATE|LOAD|ALTER|DELETE|UPDATE|INSERT|DESC))|(?:(?:SELECT|CREATE|RENAME|TRUNCATE|LOAD|ALTER|DELETE|UPDATE|INSERT|DESC)\\s+(?:CONCAT|CHAR|CONCAT|LOAD_FILE|0x)\\s?\\(?)|(?:END\\s*\\);)|(\"\\s+REGEXP\\W)","description":"Detects concatenated basic SQL injection and SQLLFI attempts","tags":{"tag":["sqli","id","lfi"]},"impact":"5"},{"rule":"(?:(?:;|#|--)\\s*(?:DROP|ALTER))|(?:(?:;|#|--)\\s*(?:UPDATE|INSERT)\\s*\\w{2,})|(?:[^\\w]SET\\s*@\\w+)|(?:(?:AND|OR|XOR|NAND|NOT|\\|\\||\\&\\&)[\\s\\w]+[!=+]+[\\s\\d]*[\"=(])","description":"Detects chained SQL injection attempts 1\/2","tags":{"tag":["sqli","id"]},"impact":"6"},{"rule":"(?:\\*\\\/FROM)|(?:\\w\"\\s*(?:[-+=|@]+\\s*)+[\\d(])|(?:COALESCE\\s*\\(|@@\\w+\\s*[^\\w\\s])|(?:\\W!+\"\\w)|(?:\";\\s*(?:if|while|begin))|(?:\"[\\s\\d]+=\\s*\\d)","description":"Detects chained SQL injection attempts 2\/2","tags":{"tag":["sqli","id"]},"impact":"6"},{"rule":"(?:(SELECT|;)\\s+(?:BENCHMARK|IF|SLEEP)\\s?\\(\\s?\\(?\\s?\\w+)","description":"Detects SQL benchmark and sleep injection attempts including conditional queries","tags":{"tag":["sqli","id"]},"impact":"4"},{"rule":"(?:CREATE\\s+function\\s+\\w+\\s+returns)|(?:;\\s*(?:SELECT|CREATE|RENAME|TRUNCATE|LOAD|ALTER|DELETE|UPDATE|INSERT|DESC)\\s*\\w{2,})","description":"Detects MySQL UDF injection and other data\/structure manipulation attempts","tags":{"tag":["sqli","id"]},"impact":"6"},{"rule":"(?:ALTER\\s*\\w+.*CHARACTER\\s+SET\\s+\\w+)|(\";\\s*WAITFOR\\s+TIME\\s+\")|(?:\";.*:\\s*GOTO)","description":"Detects MySQL charset switch and MSSQL DoS attempts","tags":{"tag":["sqli","id"]},"impact":"6"},{"rule":"(?:CREATE\\s+(PROCEDURE|FUNCTION)\\s*\\w+\\s*\\(\\s*\\)\\s*-)|(?:declare[^\\w]+[@#]\\s*\\w+)|(exec\\s*\\(\\s*@)","description":"Detects MySQL stored procedure\/function injections","tags":{"tag":["sqli","id"]},"impact":"5"},{"rule":"(?:SELECT\\s*pg_sleep)|(?:WAITFOR\\s*DELAY\\s?\"+\\s?\\d)|(?:;\\s*SHUTDOWN\\s*(?:--|#|\\\/\\*|{))","description":"Detects Postgres pg_sleep injection, waitfor delay attacks and database shutdown attempts","tags":{"tag":["sqli","id"]},"impact":"5"},{"rule":"(?:\\WIIF\\s*\\()|(?:EXEC\\s+master\\.)|(?:UNION SELECT @)|(?:UNION\\s*\\w*\\s*SELECT)|(?:SELECT.*\\w?user\\()|(?:INTO[\\s+]+(?:DUMP|OUT)FILE\\s*\")","description":"Detects MSSQL code execution and information gathering attempts","tags":{"tag":["sqli","id"]},"impact":"5"},{"rule":"(?:MERGE.*USING\\s*\\()|(EXECUTE\\s*IMMEDIATE\\s*\")|(?:\\W+\\d\\s+HAVING\\s+\\d)|(?:MATCH\\s*[\\w(),+-]+\\s*AGAINST\\s*\\()","description":"Detects MATCH AGAINST, MERGE, EXECUTE IMMEDIATE and HAVING injections","tags":{"tag":["sqli","id"]},"impact":"5"},{"rule":"(?:SELECT\\s*\\*\\s*FROM)|((?:SELECT|CREATE|RENAME|TRUNCATE|LOAD|ALTER|DELETE|UPDATE|INSERT|DESC)\\s*\\(\\s*SPACE\\s*\\()","description":"Detects MySQL comment-\/space-obfuscated injections","tags":{"tag":["sqli","id"]},"impact":"5"},{"rule":"(?:@[\\w-]+\\s*\\()|(?:]\\s*\\(\\s*[\"!]\\s*\\w)|(?:<[?%](?:php)?.*(?:[?%]>)?)|(?:;[\\s\\w|]*\\$\\w+\\s*=)|(?:\\$\\w+\\s*=(?:(?:\\s*\\$?\\w+\\s*[(;])|\\s*\".*\"))|(?:;\\s*\\{\\W*\\w+\\s*\\()","description":"Detects code injection attempts 1\/3","tags":{"tag":["id","rfe","lfi"]},"impact":"7"},{"rule":"(?:(?:[;]+|(<[?%](?:php)?)).*(?:define|eval|file_get_contents|include|require|require_once|set|shell_exec|phpinfo|system|passthru|preg_\\w+|execute)\\s*[\"(@])","description":"Detects code injection attempts 2\/3","tags":{"tag":["id","rfe","lfi"]},"impact":"7"},{"rule":"(?:(?:[;]+|(<[?%](?:php)?)).*[^\\w](?:echo|print|print_r|var_dump|fopen|popen))|(?:;\\s*rm\\s+-\\w+\\s+)|(?:;.*{.*\\$\\w+\\s*=)|(?:\\$\\w+\\s*\\[\\]\\s*=\\s*)","description":"Detects code injection attempts 3\/3","tags":{"tag":["id","rfe","lfi"]},"impact":"7"},{"rule":"(?:\\w+]?(?