CVE-2026-134323: Webmin through 2.670 Improper LDAP Certificate Validation in generic_ldap_connect
Webmin through 2.670 contains an improper certificate validation vulnerability in genericldapconnect in ldap-client-lib.pl that accepts any LDAPS or StartTLS server certificate. Man-in-the-middle attackers can impersonate the LDAP server to capture the bind DN password, often the root DN, and return forged directory data.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Webmin versions through 2.670 are affected when they use the LDAP client connection path with LDAPS or StartTLS. The vulnerable certificate handling is in generic_ldap_connect in ldap-client-lib.pl.
What does an attacker need to exploit this?
An attacker must be able to act as a man in the middle between Webmin and the LDAP server. No Webmin authentication or user interaction is required according to the supplied vector.
What could an attacker obtain or change?
A successful attacker can impersonate the LDAP server, capture the LDAP bind DN password, and provide forged directory data to Webmin. The bind DN may often be the root DN.