Rapid7 Vulnerability & Exploit Database

ktsuss suid Privilege Escalation

Back to Search

ktsuss suid Privilege Escalation

Disclosed
08/13/2011
Created
09/03/2019

Description

This module attempts to gain root privileges by exploiting a vulnerability in ktsuss versions 1.4 and prior. The ktsuss executable is setuid root and does not drop privileges prior to executing user specified commands, resulting in command execution with root privileges. This module has been tested successfully on: ktsuss 1.3 on SparkyLinux 6 (2019.08) (LXQT) (x64); and ktsuss 1.3 on SparkyLinux 5.8 (LXQT) (x64).

Author(s)

  • John Lightsey
  • bcoles <bcoles@gmail.com>

Platform

Linux

Architectures

x86, x64, armle, aarch64, ppc, mipsle, mipsbe

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

;