CVE-2024-12828
JSON

9.9critical

Webmin CGI Command Injection Remote Code Execution Vulnerability

Severity
9.9critical CVSS:3.0 by zdi
Exploit likelihood
33.3% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
Webmin Webminwebmin 2.104, 2.104CVE List, NVD

All scores

zdi9.9critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Vulnerabilidad de ejecución remota de código mediante inyección de comandos CGI en Webmin. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Webmin. Se requiere autenticación para explotar esta vulnerabilidad. La falla específica existe en la gestión de solicitudes CGI. El problema es el resultado de la falta de validación adecuada de una cadena proporcionada por el usuario antes de usarla para ejecutar una llamada al sistema. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la raíz. Era ZDI-CAN-22346.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12828 changed 2024-12-30CVE Terms of Use
NVDCVE-2024-12828 changed 2026-06-17Public domain