Rapid7 VulnDB

PolarBear CMS PHP File Upload Vulnerability

Back to Search

PolarBear CMS PHP File Upload Vulnerability

Disclosed
01/21/2012
Created
05/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(s)

  • Fady Mohamed Osman

Platform

PHP

Architectures

php

Development

References

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

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

;