Rapid7 Vulnerability & Exploit Database

Chkrootkit Local Privilege Escalation

Back to Search

Chkrootkit Local Privilege Escalation

Disclosed
06/04/2014
Created
05/30/2018

Description

Chkrootkit before 0.50 will run any executable file named /tmp/update as root, allowing a trivial privilege escalation. WfsDelay is set to 24h, since this is how often a chkrootkit scan is scheduled by default.

Author(s)

  • Thomas Stangner
  • Julien "jvoisin" Voisin

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

;