Rapid7 Vulnerability & Exploit Database

invscout RPM Privilege Escalation

Back to Search

invscout RPM Privilege Escalation

Disclosed
04/24/2023
Created
05/18/2023

Description

This module exploits a command injection vulnerability in IBM AIX invscout set-uid root utility present in AIX 7.2 and earlier. The undocumented -rpm argument can be used to install an RPM file; and the undocumented -o argument passes arguments to the rpm utility without validation, leading to command injection with effective-uid root privileges. This module has been tested successfully on AIX 7.2.

Author(s)

  • Tim Brown
  • bcoles <bcoles@gmail.com>

Platform

AIX,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/aix/local/invscout_rpm_priv_esc
msf exploit(invscout_rpm_priv_esc) > show targets
    ...targets...
msf exploit(invscout_rpm_priv_esc) > set TARGET < target-id >
msf exploit(invscout_rpm_priv_esc) > show options
    ...show and set options...
msf exploit(invscout_rpm_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

;