IPMI (Intelligent Platform Management Interface) is a standard for managing a server through a small dedicated controller on the motherboard, independent of the operating system. Using it, you can power a machine on or off, read its hardware sensors, view logs and reach its console, even when the OS has crashed or is not installed. Intel, Dell, HP and NEC published version 2.0 in 2004, and it is still present on most servers today. It also has design flaws that cannot be patched, so it must never be reachable from the public internet.
What the BMC is
The Baseboard Management Controller (BMC) is a separate computer soldered to the motherboard. It has its own CPU, RAM, flash storage, network stack and firmware, and it usually runs a small embedded Linux. It stays on while the server has standby power, and it talks to the host over internal buses such as KCS, as well as over the network.
IPMI is the protocol. The BMC is what speaks it. Vendor branding adds confusion: Dell calls its product iDRAC, HPE calls its one iLO, and Supermicro and many others just say IPMI, but the hardware concept is much the same. Newer BMCs also offer Redfish, a DMTF standard REST API over HTTPS, which is what you should use for new automation where it is available.
The BMC sits below your operating system, and it has low-level control over disks, firmware and power, so root on the BMC is effectively control of the entire machine. It sees nothing of your OS firewall, and your OS logs see nothing of it. A compromised BMC can also survive a full OS reinstall.
What you can do with IPMI
- Power on, off, cycle or gracefully shut down the machine
- Use a serial console over the network (Serial over LAN, or SOL) when SSH is unavailable
- Read temperature, fan, voltage and power sensors
- Read the System Event Log for memory errors, power faults and chassis events
- Choose the boot device for the next boot, such as PXE or BIOS setup
- Identify hardware through FRU records, such as serial numbers and part numbers
Through the vendor's web interface you usually also get a graphical KVM console and virtual media, which is how you install an OS from a custom ISO on a remote machine. Those features are not part of ipmitool, so there is no standard command for mounting an ISO.
This is how you get yourself out of trouble on a remote box: you broke sshd, you got iptables wrong, a kernel update will not boot. Without IPMI, every one of those needs a support ticket. Our servers come with IPMI details at delivery for this reason, which also means you own the job of securing the account. You can see what else is included on the dedicated servers page.
ipmitool examples
ipmitool is the standard command-line client. It is in the Debian and Ubuntu archives (apt install ipmitool) and the RHEL family (dnf install ipmitool). The syntax below applies to version 1.8 and later. 203.0.113.50 is a documentation address, so replace it with your BMC.
Do not pass passwords with -P, since the man page itself advises against it. Read it from the environment with -E, or from a file with -f:
export IPMI_PASSWORD='your-password'
ipmitool -I lanplus -H 203.0.113.50 -U admin -E chassis statusFor the rest of these examples, the connection flags are left out for readability. Add them to each one when working remotely. When you run on the host itself, load the kernel modules first with modprobe ipmi_si ipmi_devintf, and ipmitool will talk to the local BMC with no credentials.
# Power
ipmitool chassis power status
ipmitool chassis power soft # ask the OS to shut down via ACPI
ipmitool chassis power cycle # hard off, then on
ipmitool chassis power on
# Boot device for the next boot
ipmitool chassis bootdev pxe
ipmitool chassis bootdev bios
# Hardware health
ipmitool sdr elist # all sensors with status
ipmitool sensor list # sensors with thresholds
ipmitool sel elist # event log, human readable
ipmitool fru print # serial and part numbers
# BMC itself
ipmitool mc info # firmware version
ipmitool mc reset cold # reboot the BMC, not the host
ipmitool lan print 1 # network settings on channel 1
ipmitool user list 1 # accounts on channel 1Serial over LAN needs the lanplus interface, and the OS needs to have a serial console configured to give you a login prompt:
ipmitool -I lanplus -H 203.0.113.50 -U admin -E sol activate
# Exit with ~. and clean up a stuck session with:
ipmitool -I lanplus -H 203.0.113.50 -U admin -E sol deactivateA hung web console is usually fixed with mc reset cold. The host keeps running through a BMC reset, though the sensors and console will drop for a minute or two.
Known security problems
The IPMI 2.0 RAKP password hash flaw (CVE-2013-4786)
This is the one to understand, because it is in the specification rather than in any one firmware. During RAKP, the IPMI 2.0 authentication handshake, the BMC sends the client a salted hash (HMAC) of the password for the requested user, in RAKP message 2, before the client has proved who it is. So anyone who can reach UDP 623 and guess a valid username can collect that hash and try to crack it offline. The guessing happens on the attacker's own hardware, so account lockouts and login logs never see it.
- 1Attacker reaches UDP 623Requests a session for a guessed username
- 2BMC sends RAKP message 2Contains a salted HMAC of the password
- 3No proof requiredThe client has not proved who it is
- 4Offline crackingOn the attacker's hardware, unseen by lockouts and logs
NVD's entry for CVE-2013-4786 describes this behaviour, and Dell's advisory states that it is an inherent problem with the IPMI 2.0 specification with no patch available. Fixing it would mean departing from the spec. The available mitigations are to take IPMI-over-LAN away from anyone who should not reach it, and to use long random passwords so offline cracking fails.
Cipher zero, anonymous users and default passwords
Other long-known problems sit alongside the RAKP issue, covered in Rapid7's 2013 write-up and CISA alert TA13-207A:
- Cipher suite 0 performs no real authentication. On affected BMCs, any password was accepted for a valid user.
- Many BMCs shipped with an anonymous account enabled.
- Vendor defaults such as
ADMIN/ADMINon older Supermicro boards were widely left in place. - Some BMCs store user passwords in clear text, because the protocol's HMAC needs the original password. That means one compromised BMC can hand over a password shared across a whole fleet.
Firmware vulnerabilities
BMC firmware is a full software stack, often old and rarely updated. Rapid7 documented root-level exploitation of Supermicro BMCs through a vulnerable UPnP library. More recently, CVE-2024-54085 in AMI MegaRAC SPx allowed an authentication bypass through the Redfish Host Interface. It carries a critical severity rating of CVSS 10.0, and CISA added it to its Known Exploited Vulnerabilities catalog on 25 June 2025. Since many vendors build on MegaRAC, one flaw reaches many product lines.
Why IPMI must not be exposed publicly
Put the above together. An exposed BMC offers offline password cracking through the specification, a firmware stack that rarely gets patched, and a prize of total hardware control, including reinstalling the OS, reading the disks and persisting below the OS. CISA's alert makes the same point, recommending that IPMI traffic be restricted to a trusted internal network.
How to lock down IPMI
Work through this on a new server, and do it first on any rented server, where the BMC may have had previous users.
Find out what's exposed. Scan your own BMC address from outside your network, using Nmap's bundled scripts. Only scan systems you own or are authorised to test.
nmap -sU -p 623 --script ipmi-version,ipmi-cipher-zero 203.0.113.50Put the BMC behind a VPN or a jump host. A private management VLAN reached through WireGuard or SSH forwarding is the correct design. If your provider assigns BMCs public addresses, ask whether they can filter access by source IP, and how their access control works.
Review accounts. ipmitool user list 1 should show only what you expect. Disable anything else, change the password and use a separate account per person where the BMC allows it:
ipmitool user list 1
ipmitool user disable 3
ipmitool user set password 2Disable cipher 0 and weak suites. The cipher_privs value has one character per cipher suite, 15 in all, numbered from 0. X disables a suite and a allows administrator level. This example leaves only suite 3 enabled. Run this from the host side, or make sure you have another way in, because a bad setting will lock you out over LAN. Support varies by BMC, so read the result back afterwards.
ipmitool lan set 1 cipher_privs XXXaXXXXXXXXXXX
ipmitool lan print 1 | grep -i cipher
ipmitool -I lanplus -C 3 -H 203.0.113.50 -U admin -E chassis statusTurn IPMI-over-LAN off if you can manage without it. Dell's guidance for the RAKP issue is to disable it, and it takes one command. Most vendor web interfaces keep working, so test this before you depend on it. Web and Redfish ports need the same network restrictions.
ipmitool lan set 1 access offPatch the firmware. Check ipmitool mc info against your vendor's latest release. Rented hardware may need the provider's help, because a failed BMC flash is not something you can recover remotely.
Finally, send the event log to your monitoring. A sel elist that shows a chassis intrusion or a new user at 3 a.m. is only useful if something reads it.
Responsibility for securing a server falls to you, as our terms set out, and scanning or brute-forcing systems you do not own is banned under our acceptable use policy.