Rapid7 Vulnerability & Exploit Database

rConfig Vendors Auth File Upload RCE

Back to Search

rConfig Vendors Auth File Upload RCE

Disclosed
03/17/2021
Created
06/24/2021

Description

This module allows an attacker with a privileged rConfig account to start a reverse shell due to an arbitrary file upload vulnerability in `/lib/crud/vendors.crud.php`. Then, the uploaded payload can be triggered by a call to `images/vendor/.php`

Author(s)

  • MURAT ŞEKER
  • VISHWARAJ BHATTRAI
  • Yann Castel (yann.castel <Yann Castel (yann.castel@orange.com)>

Platform

PHP

Architectures

php

Development

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

;