发布时间 :2006-02-08 18:02:00
修订时间 :2017-07-19 21:29:54

[原文]check.php in Hinton Design phphd 1.0 does not check passwords when certain cookies are provided, which allows remote attackers to bypass authentication.

[CNNVD]Hinton Design PHPHD 输入验证错误漏洞(CNNVD-200602-115)

        Hinton Design phphd 1.0中的check.php在已提供了特定cookies的情况下不检查密码,这使得远程攻击者可以绕过认证。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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


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


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

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20060212 [eVuln] phphd Multiple Vulnerabilities
(UNKNOWN)  BID  16586
(UNKNOWN)  XF  phphd-check-security-bypass(24510)

- 漏洞信息

Hinton Design PHPHD 输入验证错误漏洞
高危 输入验证
2006-02-08 00:00:00 2006-02-12 00:00:00
        Hinton Design phphd 1.0中的check.php在已提供了特定cookies的情况下不检查密码,这使得远程攻击者可以绕过认证。

- 公告与补丁


- 漏洞信息 (F43801)

EV0060.txt (PacketStormID:F43801)
2006-02-14 00:00:00
Aliaksandr Hartsuyeu
exploit,xss,sql injection

phphd version 1.0 is susceptible to authentication bypass, SQL injection, and cross site scripting attacks.

New eVuln Advisory:
phphd Multiple Vulnerabilities

eVuln ID: EV0060
CVE: CVE-2006-0607 CVE-2006-0608 CVE-2006-0609
Vendor: Hinton Design
Vendor's Web Site:
Software: phphd
Sowtware's Web Site:
Versions: 1.0
Critical Level: Moderate
Type: Multiple Vulnerabilities
Class: Remote
Status: Unpatched. No reply from developer(s)
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (

1. Authentication Bypass
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

2. Multiple Cross-Site Scripting
Vulnerable script: add.php
Most of user-defined data isn't properly sanitized. This can be used to post arbitrary html or script code.

3. Multiple SQL Injections
Vulnerable scripts: all scripts showing some data from database
Most of user-defined data isn't properly sanitized. This can be used to make any SQL query by injecting arbitrary SQL code.
Condition: magic_quotes_gpc - off

Available at:

1. Authentication Bypass

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
Cookie: userid=1

2. Cross-Site Scripting Example.
Url: http://host/phphd/add.php
Download_name: <XSS>
Version: <XSS>
Download Description: <XSS>

3. SQL Injection Example:
http://host/phphd/view_link.php? file_id=99'% 20union%20select% 201,2,3,4,5, 6,7,8,9,10, 11,12,13,14, 15/*

No Patch available.

Discovered by: Aliaksandr Hartsuyeu (

- 漏洞信息

phphd check.php Cookie Authentication Bypass
Remote / Network Access

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-02-04 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Hinton Design PHPHD Multiple Input Validation And Authentication Bypass Vulnerabilities
Input Validation Error 16586
Yes No
2006-02-10 12:00:00 2006-12-13 11:33:00
Aliaksandr Hartsuyeu is credited with the discovery of these issues.

- 受影响的程序版本

Hinton Design phphd 1.0

- 漏洞讨论

The 'phphd' application is prone to multiple input-validation vulnerabilities. These issues are due to failures in the application to properly sanitize user-supplied input.

Successful exploitation could allow an attacker to compromise the application, access or modify data, steal cookie-based authentication credentials, or possibly control how the site is rendered to the user.

Attackers may be also able to exploit vulnerabilities in the underlying database implementation and conduct other attacks.

Some of these issues may be related to those discussed in BID 16541 (Hinton Design PHPHG Guestbook Multiple Input Validation Vulnerabilities) and BID 16528 (Hinton Design PHPStatus Username SQL Injection Vulnerability).

- 漏洞利用

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

- 相关参考