PHPNuke EV 搜索模块SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109604 漏洞类型 SQL注入
发布时间 2006-01-09 更新时间 2007-02-14
CVE编号 CVE-2006-0163 CNNVD-ID CNNVD-200601-108
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/27058
https://www.securityfocus.com/bid/16186
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200601-108
|漏洞详情
PHPNukeEV7.7-R1的搜索模块(modules/Search/index.php)中存在SQL注入漏洞,远程攻击者可以通过搜索字段使用的查询参数执行任意SQL命令。
|漏洞EXP
source: http://www.securityfocus.com/bid/16186/info

PHPNuke EV 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.

PHPNuke EV version 7.7 is vulnerable; earlier versions may also be affected. 

Example proof-of-concept code has been provided:


navigate to http://www.example.com/modules.php?name=Search and type in

s%') UNION SELECT 0,user_id,username,user_password,0,0,0,0,0,0 FROM nuke_users/*
|受影响的产品
PHP-Nuke PHP-Nuke 7.7 Firefly Studios Stronghold 2 7.7
|参考资料

来源:XF
名称:phpnukeev-search-sql-injection(44978)
链接:http://xforce.iss.net/xforce/xfdb/44978
来源:BID
名称:16186
链接:http://www.securityfocus.com/bid/16186
来源:OSVDB
名称:22316
链接:http://www.osvdb.org/22316
来源:VUPEN
名称:ADV-2006-0120
链接:http://www.frsirt.com/english/advisories/2006/0120
来源:SECUNIA
名称:18394
链接:http://secunia.com/advisories/18394
来源:MISC
链接:http://lostmon.blogspot.com/2006/01/phpnuke-ev-77-search-module-query.html