Vulnerability & Exploit Database

Back to search

PHP IRC Bot pbot eval() Remote Code Execution

This module allows remote command execution on the PHP IRC bot pbot by abusing the usage of eval() in the implementation of the .php command. In order to work, the data to connect to the IRC server and channel where find pbot must be provided. The module has been successfully tested on the version of pbot analyzed by Jay Turla, and published on Infosec Institute, running over Ubuntu 10.04 and Windows XP SP3.

Free Metasploit Download

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

 Download Now

Module Name

exploit/multi/misc/pbot_exec

Authors

  • evilcry
  • Jay Turla
  • bwall
  • juan vazquez <juan.vazquez [at] metasploit.com>

References

Targets

  • pbot

Platforms

  • unix
  • windows

Architectures

  • cmd

Reliability

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