发布时间 :2005-12-18 22:47:00
修订时间 :2017-07-19 21:29:13

[原文]Invalid SQL syntax error in blog.php in phpBB Blog 2.2.2 and earlier allows remote attackers to obtain the full path of the application via an invalid permalink parameter to index.php, which produces an invalid SQL query that leaks the full pathname in a SQL syntax error message. NOTE: this was originally claimed to be SQL injection, but a cleansing step strips all non-digit characters and leaves an empty permalink argument, which leads to the syntax error.

[CNNVD]phpBB Blog blog.php SQL语法漏洞(CNNVD-200512-383)

        phpBB Blog 2.2.2及更早版本的blog.php中存在无效的SQL语法错误,远程攻击者可以通过无效的index.php permalink参数,产生在SQL语法错误信息中可泄露完整路径名称的无效SQL查询,从而获得应用程序的完整路径。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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


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


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

- 其它链接及资源
(UNKNOWN)  XF  phpbbblog-permalink-sql-injection(23495)

- 漏洞信息

phpBB Blog blog.php SQL语法漏洞
中危 SQL注入
2005-12-18 00:00:00 2006-06-07 00:00:00
        phpBB Blog 2.2.2及更早版本的blog.php中存在无效的SQL语法错误,远程攻击者可以通过无效的index.php permalink参数,产生在SQL语法错误信息中可泄露完整路径名称的无效SQL查询,从而获得应用程序的完整路径。

- 公告与补丁


- 漏洞信息

phpBB Blog index.php permalink Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

The phpBB Blog has been reported to contain a flaw that may allow an attacker to carry out an SQL injection attack. The original report indicated that input passed to the 'permalink' variable of the index.php script was not properly sanitized. After subsequent evaluation and coordination with the vendor, OSVDB has determined that not passing any input to the 'permalink' variable will cause an SQL error, suggesting injection capability. However, source code review and additional testing show that any non-numeric input is stripped before being passed to the query. This makes SQL injection attacks impossible. As a result of the failed query, the full installation path may be disclosed. While such information is relatively low risk, it is often useful in carrying out additional, more focused attacks.

- 时间线

2005-12-05 Unknow
Unknow Unknow

- 解决方案

The vulnerability reported is incorrect. No solution required.

- 相关参考

- 漏洞作者