ESX Server 3.0.2, Patch ESX-1002976: Security Update to the util-linux Package (1002976)
This patch provides updates to the util-linux package distributed with the service console for ESX Server 3.0.2. The patch addresses an issue where the mount and umount utilities in util-linux call the setuid and setgid functions in the wrong order and do not check the return values, which can allow attackers to gain elevated privileges via helper application such as mount.nfs.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2007-5191 to this issue.
Note: This issue only affects the service console network, and is not a remote vulnerability for ESX Server hosts that have been set up with the security best practices provided by VMware. See http://www.vmware.com/resources/techresources/726 for more information on security best practices.
There are no symptoms for this security issue.
Download and verify the patch bundle as follows:
1. Download patch ESX-1002976 from http://www.vmware.com/download/vi/vi3_patches.html .
2. Log in to the ESX Server service console as root.
3. Create a local depot directory.
# mkdir -p /var/updates
Note: VMware recommends that you use the updates directory.
4. Change your working directory to /var/updates .
# cd /var/updates
5. Download the tar file into the /var/updates directory.
The md5 checksum output should match the following:
7. Extract the compressed tar archive:
# tar -xvzf ESX-1002976.tgz
8. Change to the newly created directory, /var/updates/ESX-1002976:
# cd ESX-1002976
Note: All virtual machines on the host must be either shut down or migrated using VMotion before applying the patch. A reboot of the ESX Server host is required after applying this patch.
After you download and extract the archive, and if you are in the directory that you previously created, use the following command to install the update:
# esxupdate update
To run esxupdate from a different directory, you must specify the bundle path in the command:
# esxupdate -r file://<directory>/ESX-1002976 update
For example, if the host is called depot:
# esxupdate -r file:///depot/var/updates/ESX-1002976 update
During the update process, logs appear on the terminal. You can specify the verbosity of esxupdate logs by using the -v option as shown below.
# esxupdate -v 10 file://<directory>/ESX-1002976 update
For more information how to use esxupdate, see the Patch Management for ESX Server 3 tech note at http://www.vmware.com/pdf/esx3_esxupdate.pdf .