module

Simple PHP Blog Remote Command Execution

Disclosed
2005-08-25
Created
2018-05-30

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 goony@nothink.org
aushack patrick@osisecurity.com.au

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
NEW

Explore Exposure Command

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