Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

EGallery PHP File Upload Vulnerability

Disclosed
Jul 8, 2012
Created
May 30, 2018

Description

This module exploits a vulnerability found in EGallery 1.2 By abusing the
uploadify.php file, a malicious user can upload a file to the egallery/ directory
without any authentication, which results in arbitrary code execution. The module
has been tested successfully on Ubuntu 10.04.

Authors

Sammy FORGIT
juan vazquez [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/unix/webapp/egallery_upload_exec
msf exploit(egallery_upload_exec) > show targets
...targets...
msf exploit(egallery_upload_exec) > set TARGET < target-id >
msf exploit(egallery_upload_exec) > show options
...show and set options...
msf exploit(egallery_upload_exec) > 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.