Skip to content

Instantly share code, notes, and snippets.

@phroxvs
Last active February 12, 2017 21:23
Show Gist options
  • Save phroxvs/2ced5d72380e4dd726c7519a6bb70a1f to your computer and use it in GitHub Desktop.
Save phroxvs/2ced5d72380e4dd726c7519a6bb70a1f to your computer and use it in GitHub Desktop.
CVE-2016-7456

# Background and description

The VMware vSphere Data Protection (VDP) appliance is based on the EMC Avamar solution. To perform an in-depth analysis of VDP, a virtual test appliance of EMC Avamar was downloaded. Known Avamar default credentials did work fine on the Avamar appliance, but were not valid to log into the vSphere Data Protection. Further file system objects in the EMC Avamar appliance were analyzed, leading to the interesting detection of a private SSH key belonging to the admin user.

A web search did reveal that the corresponding password for the SSH key file is ‘P3t3rPan’ (see http://judsonian.com/content/licensing-an-avamar-system/). Using the SSH key file a login as admin to the VMware Data Protection was successful and did grant root permissions on the appliance.

# Disclosure timeline

11.08.2016 report of vulnerability to VMware Security Response team

12.08.2016 VMware confirms the vulnerability and reaches out to EMC

22.12.2016 VMware publishes advisory and patch

04.01.2017 release of metasploit module

# References

VMware Advisory https://www.vmware.com/security/advisories/VMSA-2016-0024.html

MSF module https://github.com/phroxvs/metasploit-framework/tree/exploit_vdp_known_privkey in modules/exploits/linux/ssh/vmware_vdp_known_privkey.rb

@webs3c
Copy link

webs3c commented Jan 5, 2017

where is the module?

@phroxvs
Copy link
Author

phroxvs commented Jan 5, 2017

it's in the metasploit-framework fork on my github account. see the updated references

@bubi999
Copy link

bubi999 commented Jan 9, 2017

did you setup a different passphrase for the ssh key in the msf module?
I'm testing it locally, but the default key doesn't work.

Thanks.

@phroxvs
Copy link
Author

phroxvs commented Jan 23, 2017

Hey bubi999, sorry I didn't checked the comments in here for a while. Actually I exported the private key without passphrase. The module should work out of the box. Against what VDP version did you test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment