CVE Vulnerabilities

CVE-2017-14596

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

Published: Sep 20, 2017 | Modified: Sep 27, 2017
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu

In Joomla! before 3.8.0, inadequate escaping in the LDAP authentication plugin can result in a disclosure of a username and password.

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
Joomla! Joomla 1.5.0 (including) 1.5.0 (including)
Joomla! Joomla 1.5.1 (including) 1.5.1 (including)
Joomla! Joomla 1.5.2 (including) 1.5.2 (including)
Joomla! Joomla 1.5.3 (including) 1.5.3 (including)
Joomla! Joomla 1.5.4 (including) 1.5.4 (including)
Joomla! Joomla 1.5.5 (including) 1.5.5 (including)
Joomla! Joomla 1.5.6 (including) 1.5.6 (including)
Joomla! Joomla 1.5.7 (including) 1.5.7 (including)
Joomla! Joomla 1.5.8 (including) 1.5.8 (including)
Joomla! Joomla 1.5.9 (including) 1.5.9 (including)
Joomla! Joomla 1.5.10 (including) 1.5.10 (including)
Joomla! Joomla 1.5.11 (including) 1.5.11 (including)
Joomla! Joomla 1.5.12 (including) 1.5.12 (including)
Joomla! Joomla 1.5.13 (including) 1.5.13 (including)
Joomla! Joomla 1.5.14 (including) 1.5.14 (including)
Joomla! Joomla 1.5.15 (including) 1.5.15 (including)
Joomla! Joomla 1.5.16 (including) 1.5.16 (including)
Joomla! Joomla 1.5.17 (including) 1.5.17 (including)
Joomla! Joomla 1.5.18 (including) 1.5.18 (including)
Joomla! Joomla 1.5.19 (including) 1.5.19 (including)
Joomla! Joomla 1.5.20 (including) 1.5.20 (including)
Joomla! Joomla 1.5.21 (including) 1.5.21 (including)
Joomla! Joomla 1.5.22 (including) 1.5.22 (including)
Joomla! Joomla 1.5.23 (including) 1.5.23 (including)
Joomla! Joomla 1.5.24 (including) 1.5.24 (including)
Joomla! Joomla 1.5.25 (including) 1.5.25 (including)
Joomla! Joomla 1.5.26 (including) 1.5.26 (including)
Joomla! Joomla 1.6.0 (including) 1.6.0 (including)
Joomla! Joomla 1.6.1 (including) 1.6.1 (including)
Joomla! Joomla 1.6.2 (including) 1.6.2 (including)
Joomla! Joomla 1.6.3 (including) 1.6.3 (including)
Joomla! Joomla 1.6.4 (including) 1.6.4 (including)
Joomla! Joomla 1.6.5 (including) 1.6.5 (including)
Joomla! Joomla 1.6.6 (including) 1.6.6 (including)
Joomla! Joomla 1.7.0 (including) 1.7.0 (including)
Joomla! Joomla 1.7.1 (including) 1.7.1 (including)
Joomla! Joomla 1.7.2 (including) 1.7.2 (including)
Joomla! Joomla 1.7.3 (including) 1.7.3 (including)
Joomla! Joomla 1.7.4 (including) 1.7.4 (including)
Joomla! Joomla 1.7.5 (including) 1.7.5 (including)
Joomla! Joomla 2.5.0 (including) 2.5.0 (including)
Joomla! Joomla 2.5.1 (including) 2.5.1 (including)
Joomla! Joomla 2.5.2 (including) 2.5.2 (including)
Joomla! Joomla 2.5.3 (including) 2.5.3 (including)
Joomla! Joomla 2.5.4 (including) 2.5.4 (including)
Joomla! Joomla 2.5.5 (including) 2.5.5 (including)
Joomla! Joomla 2.5.6 (including) 2.5.6 (including)
Joomla! Joomla 2.5.7 (including) 2.5.7 (including)
Joomla! Joomla 2.5.8 (including) 2.5.8 (including)
Joomla! Joomla 2.5.9 (including) 2.5.9 (including)
Joomla! Joomla 2.5.10 (including) 2.5.10 (including)
Joomla! Joomla 2.5.11 (including) 2.5.11 (including)
Joomla! Joomla 2.5.12 (including) 2.5.12 (including)
Joomla! Joomla 2.5.13 (including) 2.5.13 (including)
Joomla! Joomla 2.5.14 (including) 2.5.14 (including)
Joomla! Joomla 2.5.15 (including) 2.5.15 (including)
Joomla! Joomla 2.5.16 (including) 2.5.16 (including)
Joomla! Joomla 2.5.17 (including) 2.5.17 (including)
Joomla! Joomla 2.5.18 (including) 2.5.18 (including)
Joomla! Joomla 2.5.19 (including) 2.5.19 (including)
Joomla! Joomla 2.5.20 (including) 2.5.20 (including)
Joomla! Joomla 2.5.21 (including) 2.5.21 (including)
Joomla! Joomla 2.5.22 (including) 2.5.22 (including)
Joomla! Joomla 2.5.23 (including) 2.5.23 (including)
Joomla! Joomla 2.5.24 (including) 2.5.24 (including)
Joomla! Joomla 2.5.25 (including) 2.5.25 (including)
Joomla! Joomla 2.5.26 (including) 2.5.26 (including)
Joomla! Joomla 2.5.27 (including) 2.5.27 (including)
Joomla! Joomla 2.5.28 (including) 2.5.28 (including)
Joomla! Joomla 3.0.0 (including) 3.0.0 (including)
Joomla! Joomla 3.0.1 (including) 3.0.1 (including)
Joomla! Joomla 3.0.2 (including) 3.0.2 (including)
Joomla! Joomla 3.0.3 (including) 3.0.3 (including)
Joomla! Joomla 3.0.4 (including) 3.0.4 (including)
Joomla! Joomla 3.1.0 (including) 3.1.0 (including)
Joomla! Joomla 3.1.1 (including) 3.1.1 (including)
Joomla! Joomla 3.1.2 (including) 3.1.2 (including)
Joomla! Joomla 3.1.3 (including) 3.1.3 (including)
Joomla! Joomla 3.1.4 (including) 3.1.4 (including)
Joomla! Joomla 3.1.5 (including) 3.1.5 (including)
Joomla! Joomla 3.1.6 (including) 3.1.6 (including)
Joomla! Joomla 3.2.0 (including) 3.2.0 (including)
Joomla! Joomla 3.2.1 (including) 3.2.1 (including)
Joomla! Joomla 3.2.2 (including) 3.2.2 (including)
Joomla! Joomla 3.2.3 (including) 3.2.3 (including)
Joomla! Joomla 3.2.4 (including) 3.2.4 (including)
Joomla! Joomla 3.2.5 (including) 3.2.5 (including)
Joomla! Joomla 3.2.6 (including) 3.2.6 (including)
Joomla! Joomla 3.2.7 (including) 3.2.7 (including)
Joomla! Joomla 3.3.0 (including) 3.3.0 (including)
Joomla! Joomla 3.3.1 (including) 3.3.1 (including)
Joomla! Joomla 3.3.2 (including) 3.3.2 (including)
Joomla! Joomla 3.3.3 (including) 3.3.3 (including)
Joomla! Joomla 3.3.4 (including) 3.3.4 (including)
Joomla! Joomla 3.3.5 (including) 3.3.5 (including)
Joomla! Joomla 3.3.6 (including) 3.3.6 (including)
Joomla! Joomla 3.4.0 (including) 3.4.0 (including)
Joomla! Joomla 3.4.1 (including) 3.4.1 (including)
Joomla! Joomla 3.4.2 (including) 3.4.2 (including)
Joomla! Joomla 3.4.3 (including) 3.4.3 (including)
Joomla! Joomla 3.4.4 (including) 3.4.4 (including)
Joomla! Joomla 3.4.5 (including) 3.4.5 (including)
Joomla! Joomla 3.4.6 (including) 3.4.6 (including)
Joomla! Joomla 3.4.7 (including) 3.4.7 (including)
Joomla! Joomla 3.4.8 (including) 3.4.8 (including)
Joomla! Joomla 3.5.0 (including) 3.5.0 (including)
Joomla! Joomla 3.5.1 (including) 3.5.1 (including)
Joomla! Joomla 3.6.0 (including) 3.6.0 (including)
Joomla! Joomla 3.6.1 (including) 3.6.1 (including)
Joomla! Joomla 3.6.2 (including) 3.6.2 (including)
Joomla! Joomla 3.6.3 (including) 3.6.3 (including)
Joomla! Joomla 3.6.4 (including) 3.6.4 (including)
Joomla! Joomla 3.6.5 (including) 3.6.5 (including)
Joomla! Joomla 3.7.0 (including) 3.7.0 (including)
Joomla! Joomla 3.7.1 (including) 3.7.1 (including)
Joomla! Joomla 3.7.2 (including) 3.7.2 (including)
Joomla! Joomla 3.7.3 (including) 3.7.3 (including)
Joomla! Joomla 3.7.4 (including) 3.7.4 (including)
Joomla! Joomla 3.7.5 (including) 3.7.5 (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