module

LotusCMS 3.0 eval() Remote Command Execution

Disclosed
2011-03-03
Created
2018-05-30

Description

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"

Authors

dflah_ dflah_@alligatorteam.org
sherl0ck_ sherl0ck_@alligatorteam.org
sinn3r sinn3r@metasploit.com

Platform

PHP

Architectures

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.