CVE-2026-134444 in Webmin
Summary
by MITRE • 11/25/2026
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.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Webmin versions up through 2.670 represents a critical failure in secure credential handling during Lightweight Directory Access Protocol interactions. Specifically, the flaw resides within the connect_ldap_db function located in the ldap-server-lib.pl module. This component is responsible for establishing connections to remote LDAP directories to perform authentication and directory management tasks. The core technical issue arises from an incorrect implementation of encryption negotiation logic when the user has configured the connection mode to automatically detect whether SSL or TLS should be used. In this specific configuration, rather than gracefully falling back to a secure method if automatic detection fails or is unavailable, the code enters a loop that inevitably results in a plaintext bind attempt. This means that sensitive authentication data, specifically the LDAP root DN password, is transmitted over the network without any cryptographic protection, regardless of the administrator's intent to use encrypted communications.
From an operational perspective, this vulnerability exposes organizations to significant risk if they rely on Webmin for managing directory services and have not explicitly forced encryption via other configuration means. Passive network attackers positioned within the same network segment or capable of intercepting traffic between the Webmin server and the LDAP backend can capture these credentials using standard packet analysis tools such as Wireshark or tcpdump. Because the password is sent in cleartext, it does not require sophisticated decryption techniques to be extracted. Once captured, an attacker gains full administrative control over the LDAP directory associated with that root DN account. This level of access allows for unauthorized modification of user accounts, extraction of sensitive organizational data stored within the directory, and potentially serves as a pivot point for further lateral movement into other systems that trust this directory service.
This flaw aligns directly with CWE-319, which classifies cleartext transmission of sensitive information, indicating a failure to protect data in transit through adequate cryptographic measures. Furthermore, it relates to CWE-756 regarding the use of weak or non-cryptographic mechanisms for security features. In terms of adversary tactics, this vulnerability facilitates credential access as described in MITRE ATT&CK technique T1040, where attackers sniff network traffic to harvest credentials without triggering host-based intrusion detection systems that might flag active exploitation attempts. The automatic fallback mechanism intended to provide flexibility instead creates a predictable and exploitable path for plaintext transmission, undermining the security posture of environments relying on Webmin for system administration.
To mitigate this vulnerability, administrators must immediately update Webmin to version 2.671 or later where the logic has been corrected to prevent falling back to unencrypted connections when automatic detection is selected. For those unable to patch immediately due to operational constraints, a mandatory workaround involves explicitly configuring the LDAP connection settings to force SSL or TLS rather than relying on auto-detection. This ensures that the encryption negotiation process strictly adheres to secure protocols and does not permit fallback to plaintext binds. Additionally, network segmentation strategies should be reviewed to ensure that Webmin servers are isolated from general user traffic where possible, reducing the attack surface for passive sniffing even if other vulnerabilities exist. Regular auditing of configuration files is also recommended to verify that no legacy settings override these security controls.