module

blueimp's jQuery (Arbitrary) File Upload

Disclosed
Oct 9, 2018
Created
Mar 19, 2019

Description

This module exploits an arbitrary file upload in the sample PHP upload
handler for blueimp's jQuery File Upload widget in versions

Due to a default configuration in Apache 2.3.9+, the widget's .htaccess
file may be disabled, enabling exploitation of this vulnerability.

This vulnerability has been exploited in the wild since at least 2015
and was publicly disclosed to the vendor in 2018. It has been present
since the .htaccess change in Apache 2.3.9.

This module provides a generic exploit against the jQuery widget.

Authors

Claudio Viviani
Larry W. Cashdollar
wvu [email protected]

Platform

Linux,PHP

Architectures

php, x86, x64

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