module

DataLife Engine preview.php PHP Code Injection

Disclosed
2013-01-28
Created
2018-05-30

Description

This module exploits a PHP code injection vulnerability DataLife Engine 9.7.
The vulnerability exists in preview.php, due to an insecure usage of preg_replace()
with the e modifier, which allows to inject arbitrary php code, when there is a
template installed which contains a [catlist] or [not-catlist] tag, even when the
template isn't in use currently. The template can be configured with the TEMPLATE
datastore option.

Authors

EgiX
juan vazquez juan.vazquez@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/unix/webapp/datalife_preview_exec
msf exploit(datalife_preview_exec) > show targets
...targets...
msf exploit(datalife_preview_exec) > set TARGET < target-id >
msf exploit(datalife_preview_exec) > show options
...show and set options...
msf exploit(datalife_preview_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.