27418 : VMware vmware-config.pl SSL Key File Permission Weakness
Printer | http://osvdb.org/27418 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
6 452 over 3 years ago over 2 years ago 0 times 100%

Timeline

Discovery Date Disclosure Date Exploit Publish Date
2006-06-01 2006-07-18 2006-07-18
Time to Exploit
47 days

Keywords

VMSA-2006-0003

Description

VMware ESX Server, VMware GSX Server, VMware Player, VMware Server, and VMware Workstation utilize a flawed vmware-config.pl script that may lead to an unauthorized information disclosure. Under certain circumstances, the vmware-config.pl script may set weak file permissions on the SSL key used by VMware to encrypt console and management communications. If this key file is accessed by unauthorized users, it can be used to attack and decrypt the SSL communications of the affected VMware product, leading to a loss of confidentiality. This issue is not valid for VMware products running under the Windows operating system.

Classification

Location: Local Access Required
Attack Type: Information Disclosure
Impact: Loss of Confidentiality
Exploit: Exploit Public
Disclosure: OSVDB Verified

Technical

The flaw in the vmware-config.pl script is that it uses the native Perl chmod() function to set permissions on the SSL key files. This function does not have any checking to ensure that the chmod command completed successfully. Therefore, it is possible that the command does not perform the necessary changes, leaving the key files exposed. In the patched version of the script, the custom safe_chmod() function is used instead, which does the necessary checks.

Solution

Upgrade to the latest VMware version (ESX 3.0.1, Server 1.0.3, Workstation 6.0), as it has been reported to fix this vulnerability. Additionally, the vendor has released a patch to address this issue, or users may opt to apply the following workaround:

Assuming VMware has been installed with the default paths, these two commands (executed as root), will set the proper file permissions on the SSL key files:

chmod 400 /etc/vmware/ssl/rui.key
chmod 444 /etc/vmware/ssl/rui.crt

Products

VMware, Inc.
Watch-list
VMware Workstation
Watch-list
5.5.x
VMware ESX Server
Watch-list
2.0.x
2.1.x
2.5.x
VMware Player
Watch-list
1.0.x
VMware GSX Server
Watch-list
3.x
VMware Server
Watch-list
1.0.x

References

Credit

  • Nick Breese - nick.breesesecurity-assessment.com - Security-Assessment.com

CVSSv2 Score

CVSSv2 Base Score = 3.6
Source: nvd.nist.gov | Generated: 2006-07-21 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_0

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2010 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use