Rapid7 Vulnerability & Exploit Database

Kemp LoadMaster Local sudo privilege escalation

Back to Search

Kemp LoadMaster Local sudo privilege escalation



This module abuses a feature of the sudo command on Progress Kemp LoadMaster. Certain binary files are allowed to automatically elevate with the sudo command. This is based off of the file name. Some files have this permission are not write-protected from the default 'bal' user. As such, if the file is overwritten with an arbitrary file, it will still auto-elevate. This module overwrites the /bin/loadkeys file with another executable.


  • Dave Yesland with Rhino Security Labs
  • bwatters-r7




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