Rapid7 Vulnerability & Exploit Database

Micro Focus (HPE) Data Protector SUID Privilege Escalation

Back to Search

Micro Focus (HPE) Data Protector SUID Privilege Escalation

Disclosed
09/13/2019
Created
11/01/2019

Description

This module exploits the trusted `$PATH` environment variable of the SUID binary `omniresolve` in Micro Focus (HPE) Data Protector A.10.40 and prior. The `omniresolve` executable calls the `oracleasm` binary using a relative path and the trusted environment `$PATH`, which allows an attacker to execute a custom binary with `root` privileges. This module has been successfully tested on: HPE Data Protector A.09.07: OMNIRESOLVE, internal build 110, built on Thu Aug 11 14:52:38 2016; Micro Focus Data Protector A.10.40: OMNIRESOLVE, internal build 118, built on Tue May 21 05:49:04 2019 on CentOS Linux release 7.6.1810 (Core) The vulnerability has been patched in: Micro Focus Data Protector A.10.40: OMNIRESOLVE, internal build 125, built on Mon Aug 19 19:22:20 2019

Author(s)

  • s7u55

Platform

Linux

Architectures

x86, x64

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/local/omniresolve_suid_priv_esc
msf exploit(omniresolve_suid_priv_esc) > show targets
    ...targets...
msf exploit(omniresolve_suid_priv_esc) > set TARGET < target-id >
msf exploit(omniresolve_suid_priv_esc) > show options
    ...show and set options...
msf exploit(omniresolve_suid_priv_esc) > 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

;