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

exploit/multi/http/lcms_php_exec

Authors

  • dflah_ <dflah_ [at] alligatorteam.org>
  • sherl0ck_ <sherl0ck_ [at] alligatorteam.org>
  • sinn3r <sinn3r [at] metasploit.com>

References

Targets

  • Automatic LotusCMS 3.0

Platforms

  • php

Architectures

  • php

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/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 ...show and set options... msf exploit(lcms_php_exec) > exploit