Original description
Webmin through 2.670 contains an improper certificate validation vulnerability in imap_login in mailboxes/folders-lib.pl that skips certificate verification and hostname checks for IMAP SSL connections. Man-in-the-middle attackers can present any certificate to capture IMAP credentials sent by the System and Server Status IMAP monitor and spoof monitor results.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-295 Improper Certificate Validation
References
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/mailboxes/folders-lib.pl#L2145
- github.com/webmin/webmin/blob/2.670/mailboxes/folders-lib.pl#L2158
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-missing-imap-certificate-validation-in-i
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.