Original description
Webmin through 2.670 contains a remote code execution vulnerability in the Perl Modules (cpan) module, which downloads CPAN indexes and module archives over plaintext HTTP without checksum or signature verification. On-path network attackers can answer the outbound fetch while an administrator installs a CPAN module, supplying a malicious Makefile.PL that cpan/download.cgi runs as root before confirmation.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-494 Download of Code Without Integrity Check
References
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/cpan/download.cgi#L190
- github.com/webmin/webmin/blob/2.670/cpan/download.cgi#L267
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-rce-via-plaintext-cpan-downloads-in-perl
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.