Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCenter Sudo LPE (CVE-2024-37081) #19402

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

h00die
Copy link
Contributor

@h00die h00die commented Aug 20, 2024

Draft module of CVE-2024-37081. Untested, pseudo coded based on PoC, just haven't had time to get back around to it yet.

@h00die h00die added the module label Aug 20, 2024
modules/exploits/linux/local/vcenter_sudo_lpe.rb Outdated Show resolved Hide resolved
modules/exploits/linux/local/vcenter_sudo_lpe.rb Outdated Show resolved Hide resolved
'Matei "Mal" Badanoiu', # discovery
],
'Platform' => [ 'linux' ],
'Arch' => [ ARCH_X86, ARCH_X64 ],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like for a couple of targets at least that the host is expecting to import a Python module, so if this doesn't work because you're dropping an ELF binary and not a shared object then you may want to change these to ARCH_PYTHON.

@h00die
Copy link
Contributor Author

h00die commented Sep 29, 2024

haven't forgotten about this, my ESXi server which should be vulnerable has a failing drive, so I'm waiting for the replacements to come in before attempting any more than absolutely necessary disk writes.

@h00die
Copy link
Contributor Author

h00die commented Nov 18, 2024

again, haven't forgotten about this, getting vcenter and having it install correctly was more of an effort than in previous versions. However, I have it (mostly? seems to have not completed install/setup, but seems functional enough) installed at this point and am making progress.

  1. pod user method is now working.
  2. Also updated platform to handle new versions of vcenter via ssh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants