Rapid7 Vulnerability & Exploit Database

Supermicro Onboard IPMI close_window.cgi Buffer Overflow

Back to Search

Supermicro Onboard IPMI close_window.cgi Buffer Overflow

Disclosed
11/06/2013
Created
05/30/2018

Description

This module exploits a buffer overflow on the Supermicro Onboard IPMI controller web interface. The vulnerability exists on the close_window.cgi CGI application, and is due to the insecure usage of strcpy. In order to get a session, the module will execute system() from libc with an arbitrary CMD payload sent on the User-Agent header. This module has been tested successfully on Supermicro Onboard IPMI (X9SCL/X9SCM) with firmware SMT_X9_214.

Author(s)

  • hdm <x@hdm.io>
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/smt_ipmi_close_window_bof
msf exploit(smt_ipmi_close_window_bof) > show targets
    ...targets...
msf exploit(smt_ipmi_close_window_bof) > set TARGET < target-id >
msf exploit(smt_ipmi_close_window_bof) > show options
    ...show and set options...
msf exploit(smt_ipmi_close_window_bof) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;