Rapid7 Vulnerability & Exploit Database

Project Pier Arbitrary File Upload Vulnerability

Back to Search

Project Pier Arbitrary File Upload Vulnerability

Disclosed
10/08/2012
Created
05/30/2018

Description

This module exploits a vulnerability found in Project Pier. The application's uploading tool does not require any authentication, which allows a malicious user to upload an arbitrary file onto the web server, and then cause remote code execution by simply requesting it. This module is known to work against Apache servers due to the way it handles an extension name, but the vulnerability may not be exploitable on others.

Author(s)

  • BlackHawk
  • sinn3r <sinn3r@metasploit.com>

Platform

Linux,PHP

Architectures

cmd

Development

References

  • OSVDB-85881
  • EDB-21929
  • PACKETSTORM-117070

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;