Vulnerability & Exploit Database

Back to search

LotusCMS 3.0 eval() Remote Command Execution

This module exploits a vulnerability found in Lotus CMS 3.0's Router() function. This is done by embedding PHP code in the 'page' parameter, which will be passed to a eval call, therefore allowing remote code execution. The module can either automatically pick up a 'page' parameter from the default page, or manually specify one in the URI option. To use the automatic method, please supply the URI with just a directory path, for example: "/lcms/". To manually configure one, you may do: "/lcms/somepath/index.php?page=index"

Free Metasploit Download

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

 Download Now

Module Name



  • dflah_ <dflah_ [at]>
  • sherl0ck_ <sherl0ck_ [at]>
  • sinn3r <sinn3r [at]>



  • Automatic LotusCMS 3.0


  • php


  • php



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