#VU18817 OS Command Injection in Webmin


Published: 2020-03-18 | Updated: 2021-06-17

Vulnerability identifier: #VU18817

Vulnerability risk: Medium

CVSSv3.1: 7 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:U/RC:C]

CVE-ID: CVE-2019-12840

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Webmin
Web applications / Remote management & hosting panels

Vendor: Webmin

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "u" HTTP POST parameter to "update.cgi" script. A remote authenticated attacker can send a specially crafted request to the Package Updates module and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system bit requires access to Package Updates module.

Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

Webmin: 0.1 - 1.910


External links
http://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.html
http://www.exploit-db.com/exploits/46984


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.


Latest bulletins with this vulnerability