发布时间 :2005-05-02 00:00:00
修订时间 :2016-10-17 23:19:13

[原文]PHP remote file inclusion vulnerability in error.php in GrayCMS 1.1 allows remote attackers to execute arbitrary PHP code by modifying the path_prefix parameter to reference a URL on a remote web server that contains the code.

[CNNVD]GrayCMS error.php远程文件包含漏洞(CNNVD-200505-363)


- CVSS (基础分值)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20050426 GrayCMS php code injection
(UNKNOWN)  XF  graycms-pathprefix-error-include(20278)

- 漏洞信息

GrayCMS error.php远程文件包含漏洞
高危 输入验证
2005-05-02 00:00:00 2006-09-28 00:00:00

- 公告与补丁


- 漏洞信息

GrayCMS error.php path_prefix Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

GrayCMS contains a flaw that may allow a remote attacker to execute arbitrary commands. If register_globals is enabled, the issue is due to "code/error.php" not properly sanitizing user input supplied to the "path_prefix" parameter. This may allow a remote attacker to send a specially-crafted URL and include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

- 时间线

2005-04-26 Unknow
2005-04-26 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(s): Exploitation of this vulnerability may not be possible unless both the 'allow_url_fopen' and 'register_globals' directives are enabled in the local site PHP configuration. As a workaround, it is recommended to disable these PHP directives.

- 相关参考

- 漏洞作者