#VU323 Default public SSH key in VMware Photon OS OVA - CVE-2016-5332
Published: August 18, 2016
VMware Photon OS OVA
VMware, Inc
Description
The vulnerability allows a remote attacker to gain unauthorized access to the system.
The vulnerability exists due to usage of default public SSH key in all versions of Photon OS 1.0 OVAs, downloaded before August 14, 2016. A remote attacker with the corresponding private SSH key can gain access to vulnerable system using default SSH keys.
Successful exploitation of this vulnerability will allow an attacker to gain unauthorized access to vulnerable system.
Remediation
Download a new version of Photon OS 1.0 OVA, released after August 14, 2016.
Users that have downloaded the PhotonOS 1.0 OVAs before August 14, 2016 should take either of the following procedures to ensure the security of their systems:
- Remove the left-over public key from all Photon OS 1.0 systems built from the original PhotonOS 1.0 OVAs by executing the following command:
- On a freshly installed Photon OS system:
rm –f /root/.ssh/authorized_keys
- On a Photon OS system which contains user-installed ssh keys:
sed –i '/photon-jenkins/d' /root/.ssh/authorized_keys
- Alternatively, download the new OVA and replace all existing instances with new instances built from the updated Photon OS 1.0 OVAs.