Rapid7 Vulnerability & Exploit Database

Webmin File Manager RCE

Back to Search

Webmin File Manager RCE

Disclosed
02/26/2022
Created
11/01/2022

Description

In Webmin version 1.984, any authenticated low privilege user without access rights to the File Manager module could interact with file manager functionalities such as downloading files from remote URLs and changing file permissions. It is possible to achieve Remote Code Execution via a crafted .cgi file by chaining those functionalities in the file manager.

Author(s)

  • faisalfs10x
  • jheysel-r7

Platform

Linux

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

;