Rapid7

module

Log1 CMS writeInfo() PHP Code Injection

Disclosed
Apr 11, 2011
Created
May 30, 2018

Description

This module exploits the "Ajax File and Image Manager" component that can be
found in log1 CMS. In function.base.php of this component, the 'data' parameter
in writeInfo() allows any malicious user to have direct control of writing data
to file data.php, which results in arbitrary remote code execution.

Authors

EgiX
Adel SBM
sinn3r [email protected]

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.