PHPKit 'Comment.PHP' SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111975 漏洞类型 SQL注入
发布时间 2007-01-09 更新时间 2007-01-11
CVE编号 CVE-2007-0179 CNNVD-ID CNNVD-200701-123
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/29405
https://cxsecurity.com/issue/WLB-2007010048
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-123
|漏洞详情
PHPKIT1.6.1R2版本的comment.php中存在SQL注入漏洞。远程攻击者可以借助subid参数,来执行任意的SQL指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/21962/info

PHPKIT is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query. 

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.

PHPKIT 1.6.1 R2 and prior versions are vulnerable to this issue.

http://www.example.com/comment.php&comcat=gb&subid=-1'%20UNION%20SELECT%201,1,1,1,1,1,user_pw,1%20from%20PHPKIT_USER_TABLE%20where%20%20user_id=1/*
|参考资料

来源:BID
名称:21962
链接:http://www.securityfocus.com/bid/21962
来源:BUGTRAQ
名称:20070109Re:PHPKit1.6.1RC2(faq/faq.php)RemoteSQLInjectionExploit
链接:http://www.securityfocus.com/archive/1/archive/1/456384/100/0/threaded
来源:OSVDB
名称:31266
链接:http://osvdb.org/31266
来源:SREASON
名称:2131
链接:http://securityreason.com/securityalert/2131