Advisory Details

December 20th, 2024

Webmin CGI Command Injection Remote Code Execution Vulnerability

ZDI-24-1725
ZDI-CAN-22346

CVE ID CVE-2024-12828
CVSS SCORE 9.9, AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS Webmin
AFFECTED PRODUCTS Webmin
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS Webmin has issued an update to correct this vulnerability. More details can be found at:
https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df
DISCLOSURE TIMELINE
  • 2024-03-28 - Vulnerability reported to vendor
  • 2024-12-20 - Coordinated public release of advisory
  • 2024-12-20 - Advisory Updated
CREDIT ptrstr
BACK TO ADVISORIES