DotClear Session.PHP SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109398 漏洞类型 SQL注入
发布时间 2005-12-01 更新时间 2005-12-02
CVE编号 CVE-2005-3963 CNNVD-ID CNNVD-200512-013
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/26689
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200512-013
|漏洞详情
DotClear1.2.3之前版本的session.php中存在SQL注入漏洞。远程攻击者可以通过cookie中的dc_xd参数执行任意SQL指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/15667/info

DotClear 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.

Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.

dc_xd=siegfried'/**/UNION/**/SELECT user_id,user_pseudo,user_nom,user_email from dc_user into outfile "/var/www/blah"/*
|参考资料

来源:MISC
链接:http://www.zone-h.org/advisories/read/id=8485
来源:BID
名称:15667
链接:http://www.securityfocus.com/bid/15667
来源:VUPEN
名称:ADV-2005-2677
链接:http://www.frsirt.com/english/advisories/2005/2677
来源:SECUNIA
名称:17830
链接:http://secunia.com/advisories/17830
来源:www.dotclear.net
链接:http://www.dotclear.net/forum/viewtopic.php?id=13876
来源:OSVDB
名称:21333
链接:http://www.osvdb.org/21333
来源:FULLDISC
名称:20051130ZRCSA-200504-dotclearSQLInjection
链接:http://archives.neohapsis.com/archives/fulldisclosure/2005-11/1052.html