发布时间 :2003-12-31 00:00:00
修订时间 :2017-07-10 21:29:50

[原文]PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, allows remote attackers to inject arbitrary PHP code via a URL in the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412. NOTE: this issue might be exploitable only during installation, or if the administrator has not run a security script after installation.

[CNNVD]Gallery index.php远程文件列入漏洞(CNNVD-200312-234)

        Gallery 1.4和1.4-pl1版本的index.php存在PHP远程文件列入漏洞,当运行在Windows或者Unix上的默认模式时,远程攻击者通过修改GALLERY_BASEDIR参数指向一个恶意的util.php文件从而导致注入任意PHP代码,该漏洞与CVE-2002-1412不同。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-94 [对生成代码的控制不恰当(代码注入)]

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


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


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

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20031011 Gallery 1.4 including file vulnerability
(UNKNOWN)  BUGTRAQ  20031011 RE: Gallery 1.4 including file vulnerability
(UNKNOWN)  BUGTRAQ  20031012 Re: Gallery 1.4 including file vulnerability
(PATCH)  BID  8814
(UNKNOWN)  XF  gallery-indexphp-file-include(13419)

- 漏洞信息

Gallery index.php远程文件列入漏洞
高危 输入验证
2003-12-31 00:00:00 2006-08-17 00:00:00
        Gallery 1.4和1.4-pl1版本的index.php存在PHP远程文件列入漏洞,当运行在Windows或者Unix上的默认模式时,远程攻击者通过修改GALLERY_BASEDIR参数指向一个恶意的util.php文件从而导致注入任意PHP代码,该漏洞与CVE-2002-1412不同。

- 公告与补丁

        The vendor has released an update to address this issue:
        Gallery Gallery 1.4
        Gallery Gallery 1.4 -pl1

- 漏洞信息 (23238)

Gallery 1.4 index.php Remote File Include Vulnerability (EDBID:23238)
php webapps
2003-10-11 Verified
0 peter
N/A [点击下载]

It has been reported that Gallery is prone to a remote file include vulnerability in the index.php script file. The problem occurs due to the program failing to verify the location in which it includes the util.php script, when handling specific requests to index.php. As a result, an attacker may be capable of having arbitrary PHP script code being executed on the remote host with the privileges of the web server. 		

- 漏洞信息

Gallery index.php GALLERY_BASEDIR Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity Upgrade
Exploit Public Vendor Verified, Uncoordinated Disclosure

- 漏洞描述

Gallery contains a flaw that may allow a remote attacker to execute arbitrary commands or code. The issue is due to the 'index.php' script not properly sanitizing user input supplied to the 'GALLERY_BASEDIR' parameter. This may allow an attacker to include a file from a third-party remote host that contains commands or code that will be executed by the vulnerable script with the same privileges as the web server.

- 时间线

2003-10-13 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.4-pl2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete