header-logo
Suggest Exploit
vendor:
Front End Upload
by:
Chris Kellum
7,5
CVSS
HIGH
Arbitrary PHP File Upload
434
CWE
Product Name: Front End Upload
Affected Version From: 0.5.4.4
Affected Version To: 0.5.4.5
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: WordPress
2012

WordPress Front End Upload v0.5.4.4 Arbitrary PHP File Upload Vulnerability

Plugin does not properly filter filetypes, which allows for the upload of filetypes in the following format: filename.php.jpg. Vulnerable hosts will serve such files as a php file, allowing for malicious files to be uploaded and executed. In creating the uploads folder for this plugin, the code utilizes uniqid to add a unique string to the upload folder name in order to better hide it from direct access. However, many WordPress installations allow direct access to the /wp-content/uploads/ folder, so simply look for a folder name beginning with 'feu_' to locate your upload.

Mitigation:

Ensure that the plugin is updated to the latest version (0.5.4.6) and that the uploads folder is not accessible from the web.
Source

Exploit-DB raw data:

# Exploit Title: WordPress Front End Upload v0.5.4.4 Arbitrary PHP File Upload Vulnerability
# Date: 7/23/12
# Exploit Author: Chris Kellum
# Vendor Homepage: http://mondaybynoon.com/
# Software Link: http://downloads.wordpress.org/plugin/front-end-upload.0.5.4.4.zip
# Version: 0.5.4.4



=====================
Vulnerability Details
=====================

Plugin does not properly filter filetypes, which allows for the upload of filetypes in the following format:

     filename.php.jpg

Vulnerable hosts will serve such files as a php file, allowing for malicious files to be uploaded and executed.

In creating the uploads folder for this plugin, the code utilizes uniqid to add a unique string to the upload folder name in order to better hide it from direct access.

Example:

     /wp-content/uploads/feu_9fc12558ac71e6995808cfc590207e87/

However, many WordPress installations allow direct access to the /wp-content/uploads/ folder, so simply look for a folder name beginning with 'feu_' to locate your upload.

===================
Disclosure Timeline
===================

7/13/2012 - Vendor notified
7/23/2012 - Version 0.5.4.6 released
7/23/2012 - Public disclosure