CVE-2002-2276
CVSS5.0
发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 16:32:47
NMCO    

[原文]Ultimate PHP Board (UPB) 1.0 allows remote attackers to view the physical path of the message board via a direct request to add.php, which leaks the path in an error message.


[CNNVD]Ultimate PHP Board Add.PHP安装绝对路径泄露漏洞(CNNVD-200212-416)

        
        Ultimate PHP Board (UPB)是一款由PHP编写的免费开放源代码公告板程序,可使用在Unix和Linux操作系统下。
        Ultimate PHP Board的add.php没有正确检查用户提交的不正规请求,远程攻击者可以利用这个漏洞获得脚本绝对路径信息。
        攻击者可以直接访问add.php脚本,服务器会返回如下错误信息:
        ================================================================
        Warning: Failed opening 'textdb_v2.inc.php' for inclusion
        (include_path='.:/usr/local/lib/php') in
        /home/samcom/public_html/public/messageboard2/add.php on line 5
        attempting to edit record...
        Fatal error: Call to undefined function: format_field() in
        /home/samcom/public_html/public/messageboard2/add.php on line 11
        ================================================================
        利用这些信息,可以帮助攻击者进一步对系统进行攻击。
        

- CVSS (基础分值)

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

- CWE (弱点类目)

CWE-200 [信息暴露]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-2276
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2002-2276
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200212-416
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/10788
(UNKNOWN)  XF  upb-add-path-disclosure(10788)
http://www.securityfocus.com/bid/6333
(UNKNOWN)  BID  6333
http://archives.neohapsis.com/archives/bugtraq/2002-12/0071.html
(UNKNOWN)  BUGTRAQ  20021207 XSS and Path Disclosure in UPB

- 漏洞信息

Ultimate PHP Board Add.PHP安装绝对路径泄露漏洞
中危 其他
2002-12-31 00:00:00 2002-12-31 00:00:00
远程  
        
        Ultimate PHP Board (UPB)是一款由PHP编写的免费开放源代码公告板程序,可使用在Unix和Linux操作系统下。
        Ultimate PHP Board的add.php没有正确检查用户提交的不正规请求,远程攻击者可以利用这个漏洞获得脚本绝对路径信息。
        攻击者可以直接访问add.php脚本,服务器会返回如下错误信息:
        ================================================================
        Warning: Failed opening 'textdb_v2.inc.php' for inclusion
        (include_path='.:/usr/local/lib/php') in
        /home/samcom/public_html/public/messageboard2/add.php on line 5
        attempting to edit record...
        Fatal error: Call to undefined function: format_field() in
        /home/samcom/public_html/public/messageboard2/add.php on line 11
        ================================================================
        利用这些信息,可以帮助攻击者进一步对系统进行攻击。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * 修改php.ini配置文件,设置display_errors = Off关闭错误显示,然后重启Web服务器。
        厂商补丁:
        Ultimate PHP Board
        ------------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.webrc.ca/php/upb.php

- 漏洞信息

4928
Ultimate PHP Board (UPB) add.php Direct Request Information Disclosure
Remote / Network Access Information Disclosure
Loss of Confidentiality
Exploit Public

- 漏洞描述

Ultimate PHP Board contains a flaw that may lead to an unauthorized information disclosure. By default, the files in the 'data_dir' (<upb-install-dir>/db) are viewable remotely. Files in this directory contain private board member information, resulting in a loss of confidentiality.

- 时间线

2002-12-07 Unknow
2002-12-07 Unknow

- 解决方案

Upgrade to version 1.9.6 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): Add 'error_reporting(0)' to each php script. Use .htaccess or similar to protect the 'data_dir'. Note: the 1.9.6 version addresses this flaw by packaging a .htaccess file in the 'data_dir' that denies remote access to its files. If the web server is configured to not honor .htaccess files, then this workaround will not be effective.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站