Webmin through 2.670 contains a cleartext transmission vulnerability in connect_ldap_db in ldap-server/ldap-server-lib.pl that sends the LDAP root DN password unencrypted when encryption is set to Detect automatically. Passive network attackers observing traffic between Webmin and a remote LDAP server can capture directory root credentials because the connection loop always reaches a plaintext bind attempt.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/blob/2.670/ldap-server/ldap-server-lib.pl#L84
https://github.com/webmin/webmin/blob/2.670/ldap-server/ldap-server-lib.pl#L80
https://github.com/webmin/webmin