IPMI Cipher Suite Zero Authentication Bypass
The server's baseboard management controller accepts IPMI cipher suite 0, which performs no authentication, so any password is accepted for a valid user name.
| Severity | Critical |
| CVSS 3.1 | 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Open in the calculator |
| CVSS 4.0 | 9.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') |
| OWASP Top 10 | A04:2025 Cryptographic Failures |
| MITRE ATT&CK | T1078 Valid Accounts, T1098 Account Manipulation, T1529 System Shutdown/Reboot |
| Category | Broken Access Control |
Description
The baseboard management controller (BMC) accepts IPMI 2.0 sessions that use cipher suite 0. This cipher suite selects no authentication, no integrity protection and no encryption, so the BMC opens a session for a valid user name whatever password is supplied. CISA has noted that cipher suite 0 is enabled by default on many IPMI-enabled devices, and the issue has been assigned CVE identifiers for several vendors' BMCs.
An attacker who can reach the BMC can therefore run IPMI commands with the privileges of the chosen account, which is usually administrator access to the BMC. They can create or change BMC users and passwords, power the server off or on, change its boot device, and then use the BMC's web interface and remote console with an account they control. Control of the BMC gives control of the server it manages, including its console and virtual media, which can be used to compromise the operating system and its data, and actions taken through the BMC are often invisible to monitoring on the host operating system.
The issue is identified over the IPMI remote management protocol (RMCP+) on UDP 623, for example with the Metasploit ipmi_cipher_zero scanner, or with ipmitool using -I lanplus -C 0, a known user name such as a vendor's default administrator account and an arbitrary password. A command that succeeds, such as listing the BMC's users, confirms the bypass. Scanners report it as IPMI cipher suite zero authentication bypass.
Remediation
Remove the bypass and isolate the management controller:
- Disable cipher suite 0 on every BMC, through the vendor's BMC configuration or, on many platforms, with the
cipher_privssetting ofipmitool lan set, as described in the vendor's documentation. Allow only cipher suites that provide authentication, integrity and encryption, such as cipher suite 3 or 17 where supported. - Disable IPMI over LAN on BMCs where it is not needed, and disable anonymous and null user accounts.
- Apply current BMC firmware from the vendor, as several vendors have released updates that address cipher suite 0.
- Place BMC interfaces on a dedicated management network that only administrators and management systems can reach, never on user networks or the internet.
- Set strong, unique passwords on all BMC accounts, and review each BMC's user list for accounts an attacker may have added.
Confirm the fix by repeating the cipher suite 0 test against every BMC and checking that sessions are refused.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.