December 10, 2010

Trustwave WebDefend Static Database Password Vulnerability








1. Summary:

A static database username and password has been identified in Trustwave's Security's WebDefend Enterprise Console product.  The information could potentially allow a remote attacker access to the database located on the WebDefend appliance.



2. Description:

When the console software requests data from the appliance it sends SQL queries over port 3306 to a MySQL database located on the appliance.  This database is used for tracking web vulnerabilities in a web site(s).  The static database username and password has been located in several of the console software’s EXE and DLL files.  Once the username and password is known, it can then be leveraged to retrieved data using a MySQL client, therefore subverting any sort of authentication the console software requires to access the data.

The static username and password is located in the files listed below:

WebDefend Enterprise Manager Appliance / Console software v5.0 (7.01.903)
gstdlibdll.dll

WebDefend Enterprise Manager Appliance / Console software v4.0 (6.45.659)
BEventViewer.dll
BGDConsole.exe
BGDReportsDataSource.dll
BPolicyDB.dll
BPolicyMgr.dll
BProfileMgr.dll
BReportsDll.dll
BReportsSvc.exe
BSystemConfigMgr.dll
BXTPExtension.dll
GSGridCtrl.dll
GSTuningDlgs.dll
bstdlibdll.dll
galsapidll.dll
gsessionsdll.dll
gspclientdll.dll
gspstd.dll
gstdlibdll.dll
test_apiex.exe


3. Impact:

Potentially allow an attacker access to all data pertaining to vulnerabilities in a victim’s web site(s).


4. Affected Products:

WebDefend Enterprise Manager Appliance / Console software v5.0 (7.01.903)
WebDefend Enterprise Manager Appliance / Console software v4.0 (6.45.659)
Older versions maybe vulnerable


5. Solution:  None


6. Time Table:

10/22/2010 Reported vulnerability to the vendor
10/27/2010 Vendor acknowledge vulnerability
01/11/2011 Vendor published fix

02/04/2011 Discovered version v5.0 (7.01.903) still had issues


7. Credits:  

Discovered by Nathan Power 
www.securitypentest.com