`####################################################################
# Exploit Title : Joomla Rokin RokGallery Components 3.2.6 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 31/01/2019
# Vendor Homepage : rockettheme.com
# Software Download Link : rockettheme.com/joomla/extensions/rokgallery
# Software Information Link : extensions.joomla.org/extension/rokgallery/
# Software Version : 3.2.6
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_rokin''
# 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 :
***************************
RokGallery is a ground-up revolutionary gallery extension, developed to be
hugely flexible, versatile and user friendly.
The system itself is built on a custom tag-based architecture
with the ability to have multiple tag-based galleries.
####################################################################
# Impact :
***********
Joomla Rokin RokGallery 3.2.6 component for Joomla! is prone to an SQL-injection vulnerability
because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application,
access or modify data, or exploit latent vulnerabilities in the underlying database.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_rokin&Itemid=[SQL Injection]
/index.php?option=com_rokin&unit=gallery&act=show&Itemid=[SQL Injection]
/index.php?option=com_rokin&Itemid=[ID-NUMBER]
&unit=photo&act=show&albumid=[SQL Injection]
/index.php?option=com_rokin&Itemid=[ID-NUMBER]
&unit=photo&act=show&albumid=[ID-NUMBER]&photoid=[SQL Injection]
/index.php?option=com_rokin&Itemid=[ID-NUMBER]
&unit=album&act=show&albumid=[SQL Injection]
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################
`
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