Vulnerability · Published Dec 30, 2024 · Assigned by zdi

CVE-2024-12828Webmin CGI Command Injection Remote Code Execution Vulnerability

Critical 9.9

In plain English

A critical-severity OS command injection in Webmin from Webmin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 33.3% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.0)9.9Critical
Exploit odds (30 days)33.3%top 1.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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 (as reported)

VendorProductVersions
Webmin Webmin webmin 2.104

Weakness: CWE-78 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References