Exploit database

Vulnerability

CVE-2019-9624

Vulnerability details

Score
7.8
Severity
high

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Download" privileges to upload a crafted .cgi file via the /updown/upload.cgi URI.

CVE Program

Exploit source choices

2 sources
Webmin Upload Authenticated RCE
MSF-unix--webapp--webmin_upload_execMetasploitUnix / remote

This module exploits an arbitrary command execution vulnerability in Webmin 1.900 and lower versions. Any user authorized to the "Upload and Download" module can execute arbitrary commands with root privileges. In addition, if the 'Running Processes' (proc) privilege is set the user can accurately determine which directory to upload to. Webmin application files can be written/overwritten, which allows remote code execution. The module has been tested successfully with Webmin 1.900 on Ubuntu v18.04. Using GUESSUPLOAD attempts to use a default installation path in order to trigger the exploit.

2019-01-17webmin_upload_exec.rb