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

[原文]SQL injection vulnerability in index.php in DSCounter 1.2, with magic_quotes_gpc disabled, allows remote attackers to execute arbitrary SQL commands via the X-Forwarded-For field (HTTP_X_FORWARDED_FOR environment variable) in an HTTP header.

[CNNVD]DSCounter 'Index.PHP' SQL注入漏洞(CNNVD-200603-263)

        DSCounter 1.2的index.php中存在SQL注入漏洞,当magic_quotes_gpc无效时,远程攻击者可通过在HTTP报头中的X-Forwarded-For字段(HTTP_X_FORWARDED_FOR 环境变量) 来执行任意SQL命令。

- CVSS (基础分值)

CVSS分值: 5.1 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: HIGH [漏洞利用存在特定的访问条件]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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


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


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

- 其它链接及资源
(UNKNOWN)  XF  dscounter-index-sql-injection(25190)
(UNKNOWN)  VUPEN  ADV-2006-0933
(UNKNOWN)  BID  17112
(UNKNOWN)  BUGTRAQ  20060325 [eVuln] DSCounter 'X-Forwarded-For' SQL Injection Vulnerability

- 漏洞信息

DSCounter 'Index.PHP' SQL注入漏洞
中危 SQL注入
2006-03-14 00:00:00 2006-04-07 00:00:00
        DSCounter 1.2的index.php中存在SQL注入漏洞,当magic_quotes_gpc无效时,远程攻击者可通过在HTTP报头中的X-Forwarded-For字段(HTTP_X_FORWARDED_FOR 环境变量) 来执行任意SQL命令。

- 公告与补丁


- 漏洞信息

DSCounter index.php HTTP_X_FORWARDED_FOR Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

DSCounter contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the index.php script not properly sanitizing user-supplied input to the HTTP_X_FORWARDED_FOR variable. This may allow an attacker to inject or manipulate SQL queries in the back-end database.

- 时间线

2006-03-12 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

DSCounter Index.PHP SQL Injection Vulnerability
Input Validation Error 17112
Yes No
2006-03-14 12:00:00 2006-03-27 07:39:00
Aliaksandr Hartsuyeu is credited with the discovery of this vulnerability.

- 受影响的程序版本

DSPortal DSCounter 1.2

- 漏洞讨论

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

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.

- 漏洞利用

This issue can be exploited through a web client.

The following proof of concept has been provided:

Get /index.php HTTP/1.0
Host: [host]
X-Forwarded-For: aaa' or 1/*

- 解决方案

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:

- 相关参考