From Ipmi To Full Infrastructure Compromise Via Proxmox
An exposed IPMI/BMC interface with default credentials allowed the attacker to dump and crack the password hash, log into the BMC, and use KVM over IP to edit the GRUB boot entry and gain root on the host. The host was a Proxmox hypervisor, giving control over all VMs, containers, and backups.
Published on systemweakness.com
In this blog, I’ll walk through how a single exposed IPMI/BMC interface let me take full control of a physical server — and how that server turned out to be a Proxmox hypervisor, handing me every virtual machine and container running on top of it, along with the backups behind them.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the BMC was exposed to the network and used default credentials, allowing the attacker to authenticate and use remote console features to bypass OS authentication.
Impact
The attacker gained root on a Proxmox hypervisor, could control all VMs and containers, and accessed backups on an NFS server, potentially compromising the entire infrastructure.
What the attacker needed
Exposed IPMI/BMC interface on UDP 623; Default or weak BMC credentials; Network access to the BMC
The fix
The text recommends changing default BMC credentials, disabling Cipher Suite 0, isolating BMCs on a management VLAN, using strong passwords, updating firmware, protecting GRUB with a password, using full-disk encryption, restricting Proxmox access with 2FA, segmenting the backup network, and…
How it was found
- Scan UDP port 623 to find an IPMI service.
- Use Metasploit module scanner/ipmi/ipmi_version to confirm IPMI 2.0.
- Use Metasploit module scanner/ipmi/ipmi_dumphashes to dump password hashes.
- Crack the hash for user ADMIN to get the password ADMIN.
- Log into the Supermicro web interface with those credentials.
- Use KVM over IP to reset the server and edit the GRUB boot entry to init=/bin/bash, gaining a root shell.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A server's management chip (BMC) is like a separate tiny computer that lets admins control the server remotely, even when it's off. If that chip is exposed and uses a default password, an attacker can take over the whole machine. Here, the attacker used that access to reboot the server into a special mode that gives full control without needing the normal login.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.