CVE Vulnerabilities

CVE-2023-29050

Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Published: Jan 08, 2024 | Modified: Nov 21, 2024
CVSS 3.x
9.6
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

The optional LDAP contacts provider could be abused by privileged users to inject LDAP filter strings that allow to access content outside of the intended hierarchy. Unauthorized users could break confidentiality of information in the directory and potentially cause high load on the directory server, leading to denial of service. Encoding has been added for user-provided fragments that are used when constructing the LDAP query. No publicly available exploits are known.

Weakness

The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Ox_app_suite Open-xchange * 7.10.6 (excluding)
Ox_app_suite Open-xchange 7.10.6 (including) 7.10.6 (including)
Ox_app_suite Open-xchange 7.10.6-rev01 (including) 7.10.6-rev01 (including)
Ox_app_suite Open-xchange 7.10.6-rev02 (including) 7.10.6-rev02 (including)
Ox_app_suite Open-xchange 7.10.6-rev03 (including) 7.10.6-rev03 (including)
Ox_app_suite Open-xchange 7.10.6-rev04 (including) 7.10.6-rev04 (including)
Ox_app_suite Open-xchange 7.10.6-rev05 (including) 7.10.6-rev05 (including)
Ox_app_suite Open-xchange 7.10.6-rev06 (including) 7.10.6-rev06 (including)
Ox_app_suite Open-xchange 7.10.6-rev07 (including) 7.10.6-rev07 (including)
Ox_app_suite Open-xchange 7.10.6-rev08 (including) 7.10.6-rev08 (including)
Ox_app_suite Open-xchange 7.10.6-rev09 (including) 7.10.6-rev09 (including)
Ox_app_suite Open-xchange 7.10.6-rev10 (including) 7.10.6-rev10 (including)
Ox_app_suite Open-xchange 7.10.6-rev11 (including) 7.10.6-rev11 (including)
Ox_app_suite Open-xchange 7.10.6-rev12 (including) 7.10.6-rev12 (including)
Ox_app_suite Open-xchange 7.10.6-rev13 (including) 7.10.6-rev13 (including)
Ox_app_suite Open-xchange 7.10.6-rev14 (including) 7.10.6-rev14 (including)
Ox_app_suite Open-xchange 7.10.6-rev15 (including) 7.10.6-rev15 (including)
Ox_app_suite Open-xchange 7.10.6-rev16 (including) 7.10.6-rev16 (including)
Ox_app_suite Open-xchange 7.10.6-rev17 (including) 7.10.6-rev17 (including)
Ox_app_suite Open-xchange 7.10.6-rev18 (including) 7.10.6-rev18 (including)
Ox_app_suite Open-xchange 7.10.6-rev19 (including) 7.10.6-rev19 (including)
Ox_app_suite Open-xchange 7.10.6-rev20 (including) 7.10.6-rev20 (including)
Ox_app_suite Open-xchange 7.10.6-rev21 (including) 7.10.6-rev21 (including)
Ox_app_suite Open-xchange 7.10.6-rev22 (including) 7.10.6-rev22 (including)
Ox_app_suite Open-xchange 7.10.6-rev23 (including) 7.10.6-rev23 (including)
Ox_app_suite Open-xchange 7.10.6-rev24 (including) 7.10.6-rev24 (including)
Ox_app_suite Open-xchange 7.10.6-rev25 (including) 7.10.6-rev25 (including)
Ox_app_suite Open-xchange 7.10.6-rev26 (including) 7.10.6-rev26 (including)
Ox_app_suite Open-xchange 7.10.6-rev27 (including) 7.10.6-rev27 (including)
Ox_app_suite Open-xchange 7.10.6-rev28 (including) 7.10.6-rev28 (including)
Ox_app_suite Open-xchange 7.10.6-rev29 (including) 7.10.6-rev29 (including)
Ox_app_suite Open-xchange 7.10.6-rev30 (including) 7.10.6-rev30 (including)
Ox_app_suite Open-xchange 7.10.6-rev31 (including) 7.10.6-rev31 (including)
Ox_app_suite Open-xchange 7.10.6-rev32 (including) 7.10.6-rev32 (including)
Ox_app_suite Open-xchange 7.10.6-rev33 (including) 7.10.6-rev33 (including)
Ox_app_suite Open-xchange 7.10.6-rev34 (including) 7.10.6-rev34 (including)
Ox_app_suite Open-xchange 7.10.6-rev35 (including) 7.10.6-rev35 (including)
Ox_app_suite Open-xchange 7.10.6-rev36 (including) 7.10.6-rev36 (including)
Ox_app_suite Open-xchange 7.10.6-rev37 (including) 7.10.6-rev37 (including)
Ox_app_suite Open-xchange 7.10.6-rev50 (including) 7.10.6-rev50 (including)
Ox_app_suite Open-xchange 8.16 (including) 8.16 (including)

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References