module

Webmin Package Updates RCE

Disclosed
2022-07-26
Created
2022-08-29

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 Fuente
Emir 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 exploit(webmin_package_updates_rce) > show targets
...targets...
msf exploit(webmin_package_updates_rce) > set TARGET < target-id >
msf exploit(webmin_package_updates_rce) > show options
...show and set options...
msf exploit(webmin_package_updates_rce) > exploit

Title
NEW

Explore Exposure Command

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