module

Webmin Package Updates RCE

Disclosed
07/26/2022
Created
08/29/2022

Description

This module exploits an arbitrary command injection in Webmin
versions prior to 1.997.

Webmin uses the OS package manager (`apt`, `yum`, etc.) to perform
package updates and installation. Due to a lack of input
sanitization, it is possibe to inject arbitrary command that will be
concatenated to the package manager call.

This exploit requires authentication and the account must have access
to the Software Package Updates module.

Authors

Christophe De La FuenteEmir Polat

Platform

Linux,Unix

Architectures

cmd, x86, x64, aarch64

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_package_updates_rce
    msf /(e) > show actions
        ...actions...
    msf /(e) > set ACTION < action-name >
    msf /(e) > show options
        ...show and set options...
    msf /(e) > 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.