Rapid7

module

PolarBear CMS PHP File Upload Vulnerability

Disclosed
Jan 21, 2012
Created
May 30, 2018

Description

This module exploits a file upload vulnerability found in PolarBear CMS
By abusing the upload.php file, a malicious user can upload a file to a temp
directory without authentication, which results in arbitrary code execution.

Author

Fady Mohamed Osman

Platform

Linux,PHP

Architectures

php, x86

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