Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain man-in-the-middle position on LDAP path
-
DeliveryPresent forged LDAPS/StartTLS certificate
-
ExploitWebmin accepts cert without validation
-
ExecutionCapture bind DN (often root DN) password
-
ImpactReturn forged directory data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires two concrete conditions. First, Webmin (version 2.670 or earlier) must be configured to connect to an LDAP directory via generic_ldap_connect using LDAPS or StartTLS - i.e. the LDAP client/authentication feature must be in use; hosts not using LDAP are unaffected. Second, the attacker must hold an active man-in-the-middle position on the network path between the Webmin server and the LDAP server (reflected as AT:P in the CVSS 4.0 vector), enabling them to impersonate the LDAP endpoint with an arbitrary certificate. The limiting factors are therefore the MITM prerequisite (the attacker cannot exploit this remotely without intercepting traffic) and the requirement that LDAP integration be enabled; no victim user interaction and no Webmin authentication (PR:N) are needed once the MITM position exists. |
| Impact | This is a genuine but conditional risk rather than a drop-everything emergency. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N, 8.3 High) tells a consistent story: network reachable (AV:N) and no authentication needed (PR:N), but a specific attack requirement must hold (AT:P) and complexity is high (AC:H) - namely the attacker must already occupy a man-in-the-middle position on the path between Webmin and its LDAP server. The high score is driven by VC:H (capture of the bind DN password, often the root DN) with a secondary integrity effect (VI:L) from forged directory data. The vuln.today priority is 'this_week' (not act_now/emergency), and the discovery is from VulnCheck. No CISA KEV listing and no EPSS score are present in the input, so there is no signal of active or widespread exploitation - status is 'no public exploit identified at time of analysis.' The practical limiter is the MITM prerequisite: an attacker who can intercept and impersonate the LDAP endpoint already has meaningful network control, which scopes this toward adversaries on the local segment, compromised intermediate infrastructure, or hostile networks rather than untargeted internet-wide attacks. Net: a real, high-value information-disclosure flaw (directory service credentials) that warrants prompt patching where Webmin authenticates against LDAP, but it is not a widely-automatable mass-exploitation issue given the man-in-the-middle requirement. No CVSS 3.1 vector was supplied; only the 4.0 vector is in the input. |
| Exploit ScenarioDerived | An attacker positioned between a Webmin host and its LDAP directory (e.g. on the same LAN, via ARP/DNS spoofing, or on compromised network infrastructure) presents a forged LDAPS or StartTLS certificate when Webmin calls generic_ldap_connect. Because the code accepts any server certificate, Webmin completes the TLS bind to the attacker, disclosing the bind DN password - frequently the root DN - and the attacker can also return forged directory data. No public exploit code is identified in the provided data, and success requires the attacker to already hold a network interception position. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Webmin 2.670 and earlier perform LDAPS and StartTLS connections through generic_ldap_connect without validating the certificate presented by the LDAP server, so a man-in-the-middle can impersonate the directory, capture the bind DN password - frequently the root DN - and return forged directory data to the console. Exploitation is conditional: the Webmin host must actually have LDAP integration configured using LDAPS or StartTLS, and the attacker must already hold an active man-in-the-middle position on the network path to the LDAP server (reflected as AT:P in the CVSS 4.0 vector), while no Webmin authentication or victim interaction is required once that position exists. No public exploit code or CISA KEV entry is identified in the available sources, and the upstream decision label places this in the this-week remediation queue rather than an emergency.
RemediationAI
No vendor-released fixed version is identified in the available data; the vulnerable code is present through Webmin 2.670, so track https://github.com/webmin/webmin/issues/2941 and the VulnCheck advisory (https://www.vulncheck.com/advisories/webmin-through-2.670-improper-ldap-certificate-validation-in-generic-ldap-connect) for a patched release and upgrade as soon as one is published. Until then, the most direct compensating control is to take the LDAP connection off any untrusted path: terminate Webmin's LDAP traffic to a directory host on the same trusted segment, or carry it over an IPsec/VPN tunnel, which removes the man-in-the-middle prerequisite but adds infrastructure overhead and does nothing if the tunnel endpoint itself is compromised. Where that is not possible, restrict outbound connectivity from the Webmin host to only the LDAP server's address and port (LDAPS 636 or the StartTLS port), or front the connection with a TLS-terminating proxy that enforces strict CA validation and hostname checks, accepting the added operational complexity and a second component in the trust path. Replace any root DN bind account used by Webmin with a least-privilege service account and rotate the bind credentials if interception is suspected, which limits blast radius but does not stop credential capture while the flaw is unpatched; falling back to plaintext LDAP is not a mitigation and would make the exposure worse.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an instance of CWE-295 (Improper Certificate Validation) in Webmin's Perl LDAP client library, ldap-client-lib.pl, in the generic_ldap_connect routine that opens encrypted directory connections. The referenced 2.670 source at lines 240 and 337 covers the LDAPS and StartTLS connection paths respectively, and in both the peer certificate is accepted without being checked against a trusted CA or the expected server identity, which defeats the only protection TLS provides against an impostor directory. Because the certificate is never validated, an attacker positioned on the network can present an arbitrary self-signed certificate, complete the TLS handshake, and receive the plaintext bind credentials the Webmin process sends - the advisory notes these are often root DN credentials - and can then substitute forged directory responses. The CVSS 4.0 vector's AT:P (attack requirements present) captures the precondition of network interception, while PR:N and UI:N indicate that each successful interception requires no Webmin login or user action; the CVSS 3.1 assessment supplied independently (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N) matches that reading, with high confidentiality impact from credential capture and limited integrity impact from forged directory data. The trigger for the missing validation is a configuration-dependent code path - the exposure is only realized where the LDAP client feature is in use with LDAPS or StartTLS, and hosts that never configure LDAP integration are unaffected.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
MITM position is required so AC:H; no auth needed (PR:N); captured bind/root DN password gives C:H, forged directory data gives I:L, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains an improper certificate validation vulnerability in generic_ldap_connect 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.
Executive ViewAI
Webmin versions up to 2.670 improperly validate LDAP server certificates, enabling an attacker with a network man-in-the-middle position to impersonate the directory and capture bind credentials, often the root DN password. Organizations using Webmin with LDAPS or StartTLS integration face potential compromise of directory admin credentials and forged data in the console. Leadership should prioritize remediation this week due to the high impact on identity infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: enforce network segmentation and monitoring to detect/prevent man-in-the-middle; disable LDAPS/StartTLS if possible; use an LDAP proxy that validates certificates; rotate LDAP credentials regularly.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Webmin Certificate Validation Flaws
View all 2An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
EUVD-2026-134934
GHSA-c9f2-gmjg-grq4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB