发布时间 :2002-07-26 00:00:00
修订时间 :2008-09-05 16:28:02

[原文]article.php in PHP FirstPost 0.1 allows allows remote attackers to obtain the full pathname of the server via an invalid post number in the post parameter, which leaks the pathname in an error message.

[CNNVD]PHP FirstPost存在路径泄露漏洞(CNNVD-200207-128)

        PHP FirstPost是一款PHP WEB日志程序,包含一个开放的提议队列和评估系统。
        PHP FirstPost对不存在的页面请求处理不正确,可导致wwwroot目录路径泄露。
        远程用户可以提交一个不存在的页面给PHP FirstPost服务程序,使BPHP FirstPost返回错误信息并显示wwwroot目录的绝对路径。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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


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


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

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20020312 [ARL02-A05] PHP FirstPost System Information Path Disclosure Vulnerability
(VENDOR_ADVISORY)  XF  phpfirstpost-path-disclosure(8434)

- 漏洞信息

PHP FirstPost存在路径泄露漏洞
中危 输入验证
2002-07-26 00:00:00 2005-05-13 00:00:00
        PHP FirstPost是一款PHP WEB日志程序,包含一个开放的提议队列和评估系统。
        PHP FirstPost对不存在的页面请求处理不正确,可导致wwwroot目录路径泄露。
        远程用户可以提交一个不存在的页面给PHP FirstPost服务程序,使BPHP FirstPost返回错误信息并显示wwwroot目录的绝对路径。

- 公告与补丁

        * 设置HTTP认证,确信只有合法用户才能访问程序。
        PHP FirstPost

- 漏洞信息

PHP FirstPost article.php Path Disclosure
Remote / Network Access Information Disclosure
Loss of Integrity
Exploit Public

- 漏洞描述

PHP FirstPost contains a flaw in the "article.php" script that may lead to an unauthorized information disclosure.  The issue is triggered when sending a specially-crafted HTTP request containing a non-existent post reply number, which will disclose the path of the web root directory, resulting in a loss of confidentiality.

- 时间线

2002-03-12 Unknow
2002-03-12 Unknow

- 解决方案

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround provided by ALPER Research Labs Security Advisory ARL02-A05: Put an IF ELSE statement in the article.php: if ($requested_post_number == "") { die ("Post number not found!"); } else { // the original script functions }

- 相关参考

- 漏洞作者

- 漏洞信息

PHP FirstPost Path Disclosure Vulnerability
Input Validation Error 4274
Yes No
2002-03-12 12:00:00 2009-07-11 11:56:00
Reported by Ahmet Sabri ALPER <>.

- 受影响的程序版本

PHP FirstPost PHP FirstPost 0.1

- 漏洞讨论

PHP FirstPost is a PHP weblog program which contains an open submission queue and comment rating system.

It has been reported that PHP FirstPost discloses path information. A request for a non-existent page, could result in an error page containing the absolute path to the web root on the host running the vulnerable software.

This information may aid in further attacks against the host running the vulnerable software.

- 漏洞利用

No exploit code required.

- 解决方案

Reportedly, the author of PHP FirstPost has acknowledged this issue and will address it in the next version. The release date is not yet known.

Currently the SecurityFocus staff 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: <>.

- 相关参考