Skip to content
OpenAdvisories
Critical · 9.9 Public exploit CVE-2024-12828 EUVD-2024-51130GHSA-r6m7-83vq-qx32

Webmin CGI Command Injection Remote Code Execution Vulnerability

Published Dec 30, 2024 · Updated Dec 30, 2024 · Assigned by zdi

Description

Webmin CGI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Webmin. Authentication is required to exploit this vulnerability.

The specific flaw exists within the handling of CGI requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22346.

Affected products

VendorProductAffectedFixed
Webmin Webmin webmin 2.104 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References