发布时间 :2005-05-02 00:00:00
修订时间 :2008-09-05 16:46:59

[原文]PHP remote file inclusion vulnerability in for Tell A Friend Script 2.7 before 20050305 allows remote attackers to execute arbitrary PHP code by modifying the script_root parameter to reference a URL on a remote web server that contains the code. NOTE: it was later reported that 2.4 is also affected.

[CNNVD]Tell A Friend Script PHP远程文件包含漏洞(CNNVD-200505-275)

        Tell A Friend Script 2.7的存在PHP远程文件包含漏洞,远程攻击者可以通过修改script_root参数来引用含有该代码的远程Web服务器的URL来执行任意PHP代码。

- CVSS (基础分值)

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

- CWE (弱点类目)

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

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


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


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

- 其它链接及资源
(PATCH)  SECTRACK  1013390
(UNKNOWN)  XF  tellafriend-scriptroot-file-include(19630)
(UNKNOWN)  BUGTRAQ  20070727 Friend Script 2.5 - 2.4 Remote File İnclude

- 漏洞信息

Tell A Friend Script PHP远程文件包含漏洞
高危 未知
2005-05-02 00:00:00 2006-09-28 00:00:00
        Tell A Friend Script 2.7的存在PHP远程文件包含漏洞,远程攻击者可以通过修改script_root参数来引用含有该代码的远程Web服务器的URL来执行任意PHP代码。

- 公告与补丁


- 漏洞信息

Tell a Friend script_root Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public, Exploit Unknown

- 漏洞描述

Tell a Friend contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to not properly sanitizing user input supplied to the 'script_root' 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.

- 时间线

2005-03-07 Unknow
2005-03-07 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者