module

Simple PHP Blog Remote Command Execution

Disclosed
08/25/2005
Created
05/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

Matteo Cantoni aushack

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 /(d) > show actions
        ...actions...
    msf /(d) > set ACTION < action-name >
    msf /(d) > show options
        ...show and set options...
    msf /(d) > run
  
Title
NEW

Explore Exposure Command

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