module

Simple PHP Blog Remote Command Execution

Disclosed
Aug 25, 2005
Created
May 30, 2018

Description

This module combines three separate issues within The Simple PHP Blog (
application to upload arbitrary data and thus execute a shell. The first
vulnerability exposes the hash file (password.txt) to unauthenticated users.
The second vulnerability lies within the image upload system provided to
logged-in users; there is no image validation function in the blogger to
prevent an authenticated user from uploading any file type. The third
vulnerability occurs within the blog comment functionality, allowing
arbitrary files to be deleted.

Authors

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