发布时间 :2004-12-31 00:00:00
修订时间 :2008-09-05 16:44:55

[原文]Multiple SQL injection vulnerabilities in usersL.php3 in PHPMyChat 0.14.5 allow remote attackers to execute arbitrary SQL commands via the (1) sortBy, (2) sortOrder, (3) startReg, (4) U, (5) LastCheck , and (6) R parameters.

[CNNVD]PHPHeaven PHPMyChat多个远程漏洞(CNNVD-200412-463)

        PHPMyChat 0.14.5版本的usersL.php3存在多个SQL注入漏洞。远程攻击者可以借助(1)sortBy、 (2)sortOrder、(3)startReg、(4) U、(5) LastCheck以及(6)R参数执行任意SQL命令。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-89 [SQL命令中使用的特殊元素转义处理不恰当(SQL注入)]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  XF  phpmychat-sql-injection(16442)
(UNKNOWN)  BID  10556
(UNKNOWN)  BUGTRAQ  20040422 phpMyChat 0.14.5

- 漏洞信息

PHPHeaven PHPMyChat多个远程漏洞
高危 SQL注入
2004-12-31 00:00:00 2007-10-10 00:00:00
        PHPMyChat 0.14.5版本的usersL.php3存在多个SQL注入漏洞。远程攻击者可以借助(1)sortBy、 (2)sortOrder、(3)startReg、(4) U、(5) LastCheck以及(6)R参数执行任意SQL命令。

- 公告与补丁

        Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: .

- 漏洞信息 (24215)

phpHeaven phpMyChat 0.14.5 usersL.php3 Multiple Parameter SQL Injection (EDBID:24215)
php webapps
2004-06-15 Verified
N/A [点击下载]

phpHeaven phpMyChat is reported prone to multiple vulnerabilities. The issues result from insufficient sanitization of user-supplied data and design flaws. The following specific issues can affect the application:

phpMyChat is prone to a HTML injection vulnerability. The issue affects the 'input.php3' script. Due to a lack of sufficient sanitization of user-supplied data, this HTML Injection vulnerability may permit an attacker to inject malicious HTML or script code into the affected application. Users who are connected to this session would have the attacker supplied HTML code rendered in their browser in the context of the vulnerable site. 

phpMyChat is prone to multiple SQL injection vulnerabilities. Again the issues are due to a failure of the application to properly sanitize user-supplied input. The problem presents itself when SQL syntax is passed through the URI parameters of the 'usersL.php3' script. The offending parameters are used in SQL queries prior to proper sanitization.

An authentication bypass vulnerability is reported to affect the phpMyChat authentication system. It is reported that by saving and modifying the phpMyChat authentication screen an attacker may potentially bypass the authentication system.

Finally phpMyChat is reported to be prone to a file disclosure vulnerability. A user who is authenticated as a site administrator can exploit the issue. The vulnerability presents itself because directory traversal sequences are not correctly sanitized from user-supplied data. It is reported that an attacker may disclose a target file by including a relative path including directory traversal sequences to the target file as a value for a URI parameter passed to the 'admin.php3' script.'[SQL]'%20UNION%20SELECT%20username,null,null,null%20FROM%20%20c_reg_users%20/*'%20UNION%20SELECT%20password,null,null,null%20FROM%20%20c_reg_users%20/*'%20UNION%20SELECT%20email,null,null,null%20FROM%20%20c_reg_users%20/*		

- 漏洞信息

phpMyChat usersL.php3 Multiple Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

phpMyChat contains a flaw that will allow an attacker to inject arbitrary SQL code. The issue is that multiple variables in the "usersL.php3" script are not verified properly and will allow an attacker to inject or manipulate SQL queries.

- 时间线

2004-04-22 Unknow
2004-04-22 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者