发布时间 :2006-06-22 20:02:00
修订时间 :2008-10-22 00:00:00

[原文]Multiple PHP remote file inclusion vulnerabilities in mcGuestbook 1.3 allow remote attackers to execute arbitrary PHP code via a URL in the lang parameter to (1) admin.php, (2) ecrire.php, and (3) lire.php. NOTE: it was later reported that the ecrire.php vector also affects 1.2. NOTE: this issue might be limited to a race condition during installation or an improper installation, since a completed installation creates an include file that prevents external control of the $lang variable.

[CNNVD]MCGuestbook 多个远程文件包含漏洞(CNNVD-200606-461)

        mcGuestbook 1.3 存在多个PHP远程文件包含漏洞。远程攻击者可以借助对(1) admin.php, (2) ecrire.php和(3) lire.php的lang参数当中的URL,执行任意PHP代码。

- CVSS (基础分值)

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

- CWE (弱点类目)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  XF  mcguestbook-multiple-file-include(27114)
(UNKNOWN)  BID  18476
(UNKNOWN)  BUGTRAQ  20060616 file include exploits in mcGuestbook 1.3
(UNKNOWN)  BUGTRAQ  20060613 file include exploits in mcGuestbook 1.3

- 漏洞信息

MCGuestbook 多个远程文件包含漏洞
高危 输入验证
2006-06-22 00:00:00 2006-08-15 00:00:00
        mcGuestbook 1.3 存在多个PHP远程文件包含漏洞。远程攻击者可以借助对(1) admin.php, (2) ecrire.php和(3) lire.php的lang参数当中的URL,执行任意PHP代码。

- 公告与补丁


- 漏洞信息

mcGuestbook admin.php lang Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

mcGuestbook contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to admin.php not properly sanitizing user input supplied to the 'lang' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

- 时间线

2006-06-13 Unknow
2006-06-13 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

- 漏洞信息

MCGuestbook Multiple Remote File Include Vulnerabilities
Input Validation Error 18476
Yes No
2006-06-16 12:00:00 2008-06-26 12:21:00
sweet-devil is credited with the discovery of these vulnerabilities.

- 受影响的程序版本

mcGuestbook mcGuestbook 1.3

- 漏洞讨论

mcGuestbook is prone to multiple remote file-include vulnerabilities because the application fails to properly sanitize user-supplied input.

An attacker can exploit these issues to include arbitrary remote files containing malicious PHP code and execute it in the context of the webserver process. This may allow the attacker to compromise the application and the underlying system; other attacks are also possible.

- 漏洞利用

Attackers can use a browser for exploits.

The following proof-of-concept URIs and exploit are available:

- 解决方案

Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at:

- 相关参考