Rapid7 Vulnerability & Exploit Database

Supermicro Onboard IPMI url_redirect.cgi Authenticated Directory Traversal

Back to Search

Supermicro Onboard IPMI url_redirect.cgi Authenticated Directory Traversal

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

Description

This module abuses a directory traversal vulnerability in the url_redirect.cgi application accessible through the web interface of Supermicro Onboard IPMI controllers. The vulnerability is present due to a lack of sanitization of the url_name parameter. This allows an attacker with a valid, but not necessarily administrator-level account, to access the contents of any file on the system. This includes the /nv/PSBlock file, which contains the cleartext credentials for all configured accounts. This module has been tested on a Supermicro Onboard IPMI (X9SCL/X9SCM) with firmware version SMT_X9_214. Other file names to try include /PSStore, /PMConfig.dat, and /wsman/simple_auth.passwd

Author(s)

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

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 auxiliary/scanner/http/smt_ipmi_url_redirect_traversal
msf auxiliary(smt_ipmi_url_redirect_traversal) > show actions
    ...actions...
msf auxiliary(smt_ipmi_url_redirect_traversal) > set ACTION < action-name >
msf auxiliary(smt_ipmi_url_redirect_traversal) > show options
    ...show and set options...
msf auxiliary(smt_ipmi_url_redirect_traversal) > run 

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

;