├── README.md ├── dokuwiki.rules ├── etherpad-lite.rules ├── zerobin.rules ├── rutorrent.rules ├── iris.rules ├── web.server.rules ├── wordpress-block.rules ├── wordpress-minimal ├── drupal.rules ├── Scanner.rules └── wordpress.rules /README.md: -------------------------------------------------------------------------------- 1 | Here you will find naxsi rules provided and maintained by the community. 2 | 3 | Naxsi's team is not involved into writting or maintaining those rules. 4 | 5 | -------------------------------------------------------------------------------- /dokuwiki.rules: -------------------------------------------------------------------------------- 1 | # DokuWiki rules 2 | 3 | BasicRule wl:1015 "mz:$BODY_VAR:usergroups"; 4 | BasicRule wl:0 "mz:$BODY_VAR:wikitext"; 5 | BasicRule wl:0 "mz:$BODY_VAR:summary"; 6 | BasicRule wl:0 "mz:$BODY_VAR:prefix"; 7 | BasicRule wl:0 "mz:$BODY_VAR:suffix"; 8 | -------------------------------------------------------------------------------- /etherpad-lite.rules: -------------------------------------------------------------------------------- 1 | # Etherpad: Really real-time collaborative document editing http://etherpad.org 2 | BasicRule wl:1101,1015,1013,1011,1010,1008,1001 "mz:$URL:/jserror|$BODY_VAR:errorinfo"; 3 | BasicRule wl:2 "mz:$URL_X:^/p/.*/import$|BODY"; 4 | BasicRule wl:1311 "mz:$URL_X:^/p/.*]$|URL"; 5 | BasicRule wl:1007 "mz:URL"; 6 | BasicRule wl:1315 "mz:$HEADERS_VAR:cookie"; 7 | BasicRule wl:11 "mz:$URL:/socket.io/|BODY"; 8 | -------------------------------------------------------------------------------- /zerobin.rules: -------------------------------------------------------------------------------- 1 | # Zerobin is here in directory /paste if diffrent change $URL:/paste/ below 2 | BasicRule wl:1015 "mz:$URL:/paste/|$BODY_VAR:data"; 3 | BasicRule wl:1315 "mz:$URL:/paste/|$HEADERS_VAR:cookie"; 4 | BasicRule wl:1001 "mz:$URL:/paste/|$BODY_VAR:data"; 5 | BasicRule wl:1009 "mz:$URL:/paste/|$BODY_VAR:data"; 6 | BasicRule wl:1009 "mz:$URL:/paste/|$BODY_VAR:nickname"; 7 | BasicRule wl:1001 "mz:$URL:/paste/|$BODY_VAR:nickname"; 8 | BasicRule wl:1015 "mz:$URL:/paste/|$BODY_VAR:nickname"; 9 | -------------------------------------------------------------------------------- /rutorrent.rules: -------------------------------------------------------------------------------- 1 | BasicRule wl:1005,1010,1011,1315 "mz:$HEADERS_VAR:cookie"; 2 | BasicRule wl:1402 "mz:$HEADERS_VAR:content-type"; 3 | BasicRule wl:11 "mz:$URL:/rutorrent/php/setsettings.php|BODY"; 4 | BasicRule wl:11 "mz:$URL:/rutorrent/php/getsettings.php|BODY"; 5 | BasicRule wl:1000,1001,1015,1310,1311 "mz:$BODY_VAR:v"; 6 | BasicRule wl:1005,1008 "mz:$BODY_VAR:cookie"; 7 | BasicRule wl:1000,1100,1101,1315 "mz:$BODY_VAR:url"; 8 | BasicRule wl:1310,1311 "mz:$URL:/rutorrent/php/addtorrent.php|$ARGS_VAR:result[]|NAME"; 9 | BasicRule wl:1000,1100,1101 "mz:$ARGS_VAR:name[]"; 10 | BasicRule wl:1310,1311 "mz:$URL:/rutorrent/php/addtorrent.php|$ARGS_VAR:name[]|NAME"; 11 | -------------------------------------------------------------------------------- /iris.rules: -------------------------------------------------------------------------------- 1 | # Web IRC client Iris for the atheme platform https://github.com/atheme-legacy/iris 2 | ### Allowed chars in the URI of WebChat Wizard "custom link" or "embed" 3 | BasicRule wl:1000,1315 "mz:$HEADERS_VAR:cookie"; 4 | BasicRule wl:1015 "mz:$ARGS_VAR:channels"; 5 | BasicRule wl:1000,1002,1005,1007,1013,1200,1205,1310,1311,1314 "mz:$ARGS_VAR:nick"; 6 | BasicRule wl:1000,1005,1008,1013,1015,1200,1205 "mz:$URL:/|ARGS"; 7 | ### Allowed chars in Chat and Private 8 | BasicRule wl:0 "mz:$URL:/e/p|$BODY_VAR:c"; 9 | ### Allowed chars in nick same as are allowed in IRCD 10 | BasicRule wl:1000,1002,1005,1007,1205,1310,1311,1314 "mz:$URL:/e/n|$BODY_VAR:nick"; 11 | -------------------------------------------------------------------------------- /web.server.rules: -------------------------------------------------------------------------------- 1 | MainRule "rx:^[a-zA-Z\d-]+\.[a-zA-Z]+$" "msg:HOST-Header Injection" "mz:$HEADERS_VAR:Host" "s:$ATTACK:6" id:42000465 ; 2 | MainRule "rx: