发布时间 :2014-10-27 16:55:07
修订时间 :2017-08-28 21:29:01

[原文]PHP remote file inclusion vulnerability in wp-links/links.all.php in WordPress 0.70 allows remote attackers to execute arbitrary PHP code via a URL in the $abspath variable.

[CNNVD]WordPress PHP 代码注入漏洞(CNNVD-201410-1309)



WordPress 0.70版本的wp-links/links.all.php脚本中存在PHP远程文件包含漏洞。远程攻击者可借助$abspath变量中的URL利用该漏洞执行任意PHP代码。

- CVSS (基础分值)

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

- CWE (弱点类目)

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

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


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


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

- 其它链接及资源
(UNKNOWN)  MLIST  [oss-security] 20120106 Re: CVE-request: WordPress SQL injection and arbitrary code injection (2003)
(UNKNOWN)  BID  7785
(UNKNOWN)  XF  wordpress-linksall-file-include(12205)

- 漏洞信息

WordPress PHP 代码注入漏洞
高危 代码注入
2014-10-28 00:00:00 2014-10-31 00:00:00


WordPress 0.70版本的wp-links/links.all.php脚本中存在PHP远程文件包含漏洞。远程攻击者可借助$abspath变量中的URL利用该漏洞执行任意PHP代码。

- 公告与补丁


- 漏洞信息

WordPress links.all.php abspath Parameter Remote File Inclusion
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity Upgrade
Exploit Public Vendor Verified, Uncoordinated Disclosure

- 漏洞描述

WordPress contains a flaw that may allow a remote attacker to execute arbitrary commands or code. The issue is due to the 'links.all.php' script not properly sanitizing user input supplied to the 'abspath' 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-06-02 Unknow
2003-06-02 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

Wordpress Remote PHP File Include Vulnerability
Input Validation Error 7785
Yes No
2003-06-02 12:00:00 2012-01-06 10:00:00
Discovery of this vulnerability has been credited to

- 受影响的程序版本

WordPress WordPress 0.7

- 漏洞讨论

A vulnerability has been reported for Wordpress. The problem occurs due to insufficient sanitization of user-supplied URI parameters. As a result, an attacker may be capable of including a malicious remote PHP file on the target server.

Successful exploitation of this vulnerability would allow an attacker to execute arbitrary PHP commands on a target server, with the privileges of Wordpress.

- 漏洞利用

No exploit required.

- 解决方案

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: <>.

- 相关参考