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 package | Versions | Reported by |
|---|---|---|
| Webmin Webmin | webmin 2.104, 2.104 | CVE List, NVD |
All scores
| zdi | 9.9critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://www.zerodayinitiative.com/advisories/ZDI-24-1725/ | third-party-advisory | |
| https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12828 changed 2024-12-30 | CVE Terms of Use |
| NVD | CVE-2024-12828 changed 2026-06-17 | Public domain |