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

[原文]Multiple SQL injection vulnerabilities in Hinton Design phphd 1.0 allow remote attackers to execute arbitrary SQL commands via (1) the username parameter to check.php or (2) unknown attack vectors to scripts that display information from the database.

[CNNVD]Hinton Design PHPHD多个SQL注入漏洞(CNNVD-200602-112)

        Hinton Design phphd 1.0中存在多个SQL注入漏洞。远程攻击者可以借助(1)指向check.php的username参数或(2)为数据库的显示信息编写脚本的未明攻击向量注入任意SQL命令。

- CVSS (基础分值)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20060212 [eVuln] phphd Multiple Vulnerabilities
(UNKNOWN)  BID  16586
(UNKNOWN)  XF  phphd-check-sql-injection(24508)
(UNKNOWN)  XF  phphd-multiple-sql-injection(24515)

- 漏洞信息

Hinton Design PHPHD多个SQL注入漏洞
高危 SQL注入
2006-02-08 00:00:00 2006-02-12 00:00:00
        Hinton Design phphd 1.0中存在多个SQL注入漏洞。远程攻击者可以借助(1)指向check.php的username参数或(2)为数据库的显示信息编写脚本的未明攻击向量注入任意SQL命令。

- 公告与补丁


- 漏洞信息 (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 username Variable POST Method SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

phphd contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the checkphp script not properly sanitizing user-supplied input to the 'username' variable via the POST method. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2006-02-04 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者