发布时间 :2006-02-07 13:06:00
修订时间 :2011-03-07 21:30:21

[原文]Multiple SQL injection vulnerabilities in phpstatus 1.0, when gpc_magic_quotes is disabled, allow remote attackers to execute arbitrary SQL commands and bypass authentication via (1) the username parameter in check.php and (2) unknown attack vectors in the administrative interface.

[CNNVD]PHPStatus 多个SQL注入漏洞(CNNVD-200602-096)

        phpstatus 1.0中存在多个SQL注入漏洞。在禁用gpc_magic_quotes的情况下,远程攻击者可以借助(1)check.php中的username参数和(2)管理界面上的未知攻击向量执行任意SQL命令并绕过认证。

- CVSS (基础分值)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  VUPEN  ADV-2006-0450
(UNKNOWN)  BID  16587
(UNKNOWN)  BUGTRAQ  20060212 [eVuln] phpstatus Authentication Bypass

- 漏洞信息

PHPStatus 多个SQL注入漏洞
高危 SQL注入
2006-02-07 00:00:00 2006-02-08 00:00:00
        phpstatus 1.0中存在多个SQL注入漏洞。在禁用gpc_magic_quotes的情况下,远程攻击者可以借助(1)check.php中的username参数和(2)管理界面上的未知攻击向量执行任意SQL命令并绕过认证。

- 公告与补丁


- 漏洞信息 (F43802)

EV0061.txt (PacketStormID:F43802)
2006-02-14 00:00:00
Aliaksandr Hartsuyeu
exploit,sql injection

phpstatus version 1.0 is susceptible to authentication bypass via SQL injection and an issue with cookie verification.

New eVuln Advisory:
phpstatus Authentication Bypass

eVuln ID: EV0061
CVE: CVE-2006-0570 CVE-2006-0571 CVE-2006-0572
Vendor: Hinton Design
Vendor's Web Site:
Software: phpstatus
Sowtware's Web Site:
Versions: 1.0
Critical Level: Moderate
Type: SQL Injection
Class: Remote
Status: Unpatched. No reply from developer(s)
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (

Vulnerable script: check.php

There are two ways to bypass authentication:

a) SQL Injection
Variable $HTTP_POST_VARS[username] isn't properly sanitized before being used in a SQL query. This can be used to make any SQL query by injecting arbitrary SQL code.
Condition: magic_quotes_gpc - off

b) Cookie based authentication
check.php script dont make password comparisson when identifying user by cookies

Multiple Cross-Site Scripting & Multiple SQL Injections vulnerabilities are present in administrator's control panel.

Available at:

1. Authentication Bypass Examples

a) SQL Injection
url: http://host/ht/login.php
Username: ' or 1/*
Password: any

b) Cookie based authentication
Cookie: loged=yes
Cookie: username=admin
Cookie: user_level=1

No Patch available.

Discovered by: Aliaksandr Hartsuyeu (

- 漏洞信息

PHPStatus check.php username Variable POST Method SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-02-04 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

PHPStatus Multiple Input Validation Vulnerabilities
Input Validation Error 16587
Yes No
2006-02-10 12:00:00 2006-12-13 11:33:00
Discovery is credited to Aliaksandr Hartsuyeu.

- 受影响的程序版本

Hinton Design phpstatus 1.0

- 漏洞讨论

phpstatus is prone to multiple input validation vulnerabilities. The issues include unspecified cross-site scripting, SQL injection vulnerabilities and an authentication bypass vulnerability. These issues are due to a failure in the application to properly sanitize user-supplied input.

Successful exploitation of these vulnerabilities could result in a compromise of the application, disclosure or modification of data, or the theft of cookie-based authentication credentials. They may also permit an attacker to exploit vulnerabilities in the underlying database implementation as well as other attacks.

- 漏洞利用

An exploit is not required.

- 解决方案

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

- 相关参考