Protecting Intelligent Platform Management Interface (IPMI) devices

Critical Supermicro IPMI BMC vulnerabilities were published in early 2014. Vulnerable IPMI devices accessible publicly from the Internet represent a high risk for businesses. A hacker or an unauthorized person can access an IPMI device's console and do what they wants (reboot your server, reinstall it, change the configuration). In some cases, the embedded system could be exploited to run malicious programs.


How to verify if your IPMI device is vulnerable:

The following command can be used to verify is the IPMI interface is exposed:
sudo nmap -sU --script ipmi-version -p 623 <your-device-ip>

Output sample:
PORT STATE SERVICE
623/udp open asf-rmcp
| ipmi-version:
| Version:
| IPMI-2.0
| UserAuth: md5, md2
| PassAuth: auth_user, non_null_user
|_ Level: 1.5, 2.0

If the command returns a time-out, the service might already be filtered.


Resolution:

In order to secure your IPMI and your IT infrastructure, please apply the following solutions:

1. Disconnect the IPMI device from the Internet (If you do not need it at all).
2. Have the IPMI devices accessible only via VPN (or from the internal network using private IP addresses).

If you have to keep your IPMI accessible publicly, these are some of the security measures to take:

  • Implement the IPMI security best practices (Enable IP address control, Manage your users, ...) via your IPMI web interface. 
  • Replace the ADMIN/admin default administrator user with a new administrator user. 
  • Delete any users that are no longer active, and disable the default users when possible.
  • Keep your IPMI software and firmware uptodate and reset ALL the IPMI accounts passwords.
  • Implement the best practices to secure the IPMI devices available here (PDF): http://fish2.com/ipmi/bp.pdf


References:
https://www.supermicro.com/products/nfo/files/IPMI/Best_Practices_BMC_Security.pdf
http://blog.cari.net/carisirt-yet-another-bmc-vulnerability-and-some-added-extras/
https://securityledger.com/2014/08/was-an-ipmi-flaw-behind-300gbps-ddos-attack-computerworlduk-com/
http://fish2.com/ipmi/
http://fish2.com/ipmi/river.pdf
http://www.supermicro.com/products/nfo/files/IPMI/CVE_Update.pdf
http://threatpost.com/seven-ipmi-firmware-zero-days-disclosed
http://fish2.com/ipmi/remote-pw-cracking.html
http://www.cisco.com/web/about/security/intelligence/IPMI_security.html
https://www.us-cert.gov/ncas/alerts/TA13-207A
https://airbus-seclab.github.io/ilo/SSTIC2018-Article-subverting_your_server_through_its_bmc_the_hpe_ilo4_case-gazet_perigaud_czarny.pdf

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk