module

Monitorr unauthenticated Remote Code Execution (RCE)

Disclosed
11/16/2020
Created
03/22/2023

Description

This module exploits an arbitrary file upload vulnerability and achieving an RCE in the Monitorr application.
Using a specially crafted request, custom PHP code can be uploaded and injected through endpoint upload.php because of missing input validation.
Any user privileges can exploit this vulnerability and it results in access to the underlying operating system with the same privileges
under which the web services run (typically user www-data).
Monitorr 1.7.6m, 1.7.7d and below are affected.

Authors

h00die-gr3y Lyhins Lab

Platform

Linux,PHP,Unix,Windows

Architectures

cmd, php, x64, 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/monitorr_webshell_rce_cve_2020_28871
    msf /(1) > show actions
        ...actions...
    msf /(1) > set ACTION < action-name >
    msf /(1) > show options
        ...show and set options...
    msf /(1) > run
  
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.