Vulnerability & Exploit Database

Back to search

ZPanel zsudo Local Privilege Escalation Exploit

This module abuses the zsudo binary, installed with zpanel, to escalate privileges. In order to work, a session with access to zsudo on the sudoers configuration is needed. This module is useful for post exploitation of ZPanel vulnerabilities, where typically web server privileges are acquired, and this user is allowed to execute zsudo on the sudoers file.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • sinn3r <sinn3r [at]>
  • juan vazquez <juan.vazquez [at]>


  • Command payload
  • Linux x86


  • linux
  • unix


  • cmd
  • x86
  • cmd
  • x86



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