ID CVE-2012-2668
Summary libraries/libldap/tls_m.c in OpenLDAP, possibly 2.4.31 and earlier, when using the Mozilla NSS backend, always uses the default cipher suite even when TLSCipherSuite is set, which might cause OpenLDAP to use weaker ciphers than intended and make it easier for remote attackers to obtain sensitive information.
References
Vulnerable Configurations
  • OpenLDAP OpenLDAP 2.4.31
    cpe:2.3:a:openldap:openldap:2.4.31
  • OpenLDAP 2.4.30
    cpe:2.3:a:openldap:openldap:2.4.30
  • OpenLDAP 2.4.29
    cpe:2.3:a:openldap:openldap:2.4.29
  • OpenLDAP 2.4.28
    cpe:2.3:a:openldap:openldap:2.4.28
  • OpenLDAP 2.4.27
    cpe:2.3:a:openldap:openldap:2.4.27
  • OpenLDAP 2.4.26
    cpe:2.3:a:openldap:openldap:2.4.26
  • OpenLDAP 2.4.25
    cpe:2.3:a:openldap:openldap:2.4.25
  • OpenLDAP 2.4.24
    cpe:2.3:a:openldap:openldap:2.4.24
  • OpenLDAP 2.4.23
    cpe:2.3:a:openldap:openldap:2.4.23
  • OpenLDAP 2.4.22
    cpe:2.3:a:openldap:openldap:2.4.22
  • OpenLDAP 2.4.21
    cpe:2.3:a:openldap:openldap:2.4.21
  • OpenLDAP 2.4.20
    cpe:2.3:a:openldap:openldap:2.4.20
  • OpenLDAP 2.4.19
    cpe:2.3:a:openldap:openldap:2.4.19
  • OpenLDAP 2.4.18
    cpe:2.3:a:openldap:openldap:2.4.18
  • OpenLDAP 2.4.17
    cpe:2.3:a:openldap:openldap:2.4.17
  • OpenLDAP 2.4.16
    cpe:2.3:a:openldap:openldap:2.4.16
  • OpenLDAP 2.4.15
    cpe:2.3:a:openldap:openldap:2.4.15
  • OpenLDAP 2.4.14
    cpe:2.3:a:openldap:openldap:2.4.14
  • OpenLDAP 2.4.13
    cpe:2.3:a:openldap:openldap:2.4.13
  • OpenLDAP 2.4.12
    cpe:2.3:a:openldap:openldap:2.4.12
  • OpenLDAP 2.4.11
    cpe:2.3:a:openldap:openldap:2.4.11
  • OpenLDAP 2.4.10
    cpe:2.3:a:openldap:openldap:2.4.10
  • OpenLDAP 2.4.9
    cpe:2.3:a:openldap:openldap:2.4.9
  • OpenLDAP 2.4.8
    cpe:2.3:a:openldap:openldap:2.4.8
  • OpenLDAP 2.4.7
    cpe:2.3:a:openldap:openldap:2.4.7
  • OpenLDAP 2.4.6
    cpe:2.3:a:openldap:openldap:2.4.6
CVSS
Base: 4.3 (as of 18-06-2012 - 17:00)
Impact:
Exploitability:
CWE CWE-200
CAPEC
  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.
  • Reusing Session IDs (aka Session Replay)
    This attack targets the reuse of valid session ID to spoof the target system in order to gain privileges. The attacker tries to reuse a stolen session ID used previously during a transaction to perform spoofing and session hijacking. Another name for this type of attack is Session Replay.
  • Using Slashes in Alternate Encoding
    This attack targets the encoding of the Slash characters. An attacker would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the attacker many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-10023.NASL
    description security and bug fix update Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 60007
    published 2012-07-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60007
    title Fedora 16 : openldap-2.4.26-8.fc16 (2012-10023)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201406-36.NASL
    description The remote host is affected by the vulnerability described in GLSA-201406-36 (OpenLDAP: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in OpenLDAP. Please review the CVE identifiers referenced below for details. Impact : A remote attacker might employ a specially crafted certificate to conduct man-in-the-middle attacks on SSL connections made using OpenLDAP, bypass security restrictions or cause a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-12
    plugin id 76331
    published 2014-07-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=76331
    title GLSA-201406-36 : OpenLDAP: Multiple vulnerabilities
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-1151.NASL
    description Updated openldap packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. It was found that the OpenLDAP server daemon ignored olcTLSCipherSuite settings. This resulted in the default cipher suite always being used, which could lead to weaker than expected ciphers being accepted during Transport Layer Security (TLS) negotiation with OpenLDAP clients. (CVE-2012-2668) This update also fixes the following bug : * When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client. With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd. (BZ#844428) Users of OpenLDAP are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenLDAP daemons will be restarted automatically.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 61464
    published 2012-08-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61464
    title CentOS 6 : openldap (CESA-2012:1151)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20120808_OPENLDAP_ON_SL6_X.NASL
    description It was found that the OpenLDAP server daemon ignored olcTLSCipherSuite settings. This resulted in the default cipher suite always being used, which could lead to weaker than expected ciphers being accepted during Transport Layer Security (TLS) negotiation with OpenLDAP clients. (CVE-2012-2668) This update also fixes the following bug : - When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client. With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd. (BZ#844428) After installing this update, the OpenLDAP daemons will be restarted automatically.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61455
    published 2012-08-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61455
    title Scientific Linux Security Update : openldap on SL6.x i386/x86_64
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-1151.NASL
    description Updated openldap packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. It was found that the OpenLDAP server daemon ignored olcTLSCipherSuite settings. This resulted in the default cipher suite always being used, which could lead to weaker than expected ciphers being accepted during Transport Layer Security (TLS) negotiation with OpenLDAP clients. (CVE-2012-2668) This update also fixes the following bug : * When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client. With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd. (BZ#844428) Users of OpenLDAP are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenLDAP daemons will be restarted automatically.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 61454
    published 2012-08-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61454
    title RHEL 6 : openldap (RHSA-2012:1151)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-1151.NASL
    description From Red Hat Security Advisory 2012:1151 : Updated openldap packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. It was found that the OpenLDAP server daemon ignored olcTLSCipherSuite settings. This resulted in the default cipher suite always being used, which could lead to weaker than expected ciphers being accepted during Transport Layer Security (TLS) negotiation with OpenLDAP clients. (CVE-2012-2668) This update also fixes the following bug : * When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client. With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd. (BZ#844428) Users of OpenLDAP are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing this update, the OpenLDAP daemons will be restarted automatically.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68596
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68596
    title Oracle Linux 6 : openldap (ELSA-2012-1151)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-117.NASL
    description It was found that the OpenLDAP server daemon ignored olcTLSCipherSuite settings. This resulted in the default cipher suite always being used, which could lead to weaker than expected ciphers being accepted during Transport Layer Security (TLS) negotiation with OpenLDAP clients. (CVE-2012-2668)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69607
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69607
    title Amazon Linux AMI : openldap (ALAS-2012-117)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-10000.NASL
    description TLS bugfixes and one security fix. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 60006
    published 2012-07-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60006
    title Fedora 17 : openldap-2.4.31-3.fc17 (2012-10000)
redhat via4
advisories
bugzilla
id 844428
title smbk5pwd module computes invalid NT and LM hashes
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment openldap is earlier than 0:2.4.23-26.el6_3.2
        oval oval:com.redhat.rhsa:tst:20121151005
      • comment openldap is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20151292008
    • AND
      • comment openldap-clients is earlier than 0:2.4.23-26.el6_3.2
        oval oval:com.redhat.rhsa:tst:20121151007
      • comment openldap-clients is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20151292010
    • AND
      • comment openldap-devel is earlier than 0:2.4.23-26.el6_3.2
        oval oval:com.redhat.rhsa:tst:20121151009
      • comment openldap-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20151292012
    • AND
      • comment openldap-servers is earlier than 0:2.4.23-26.el6_3.2
        oval oval:com.redhat.rhsa:tst:20121151013
      • comment openldap-servers is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20151292014
    • AND
      • comment openldap-servers-sql is earlier than 0:2.4.23-26.el6_3.2
        oval oval:com.redhat.rhsa:tst:20121151011
      • comment openldap-servers-sql is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhba:tst:20151292006
rhsa
id RHSA-2012:1151
released 2012-08-08
severity Low
title RHSA-2012:1151: openldap security and bug fix update (Low)
rpms
  • openldap-0:2.4.23-26.el6_3.2
  • openldap-clients-0:2.4.23-26.el6_3.2
  • openldap-devel-0:2.4.23-26.el6_3.2
  • openldap-servers-0:2.4.23-26.el6_3.2
  • openldap-servers-sql-0:2.4.23-26.el6_3.2
refmap via4
bid 53823
confirm
gentoo GLSA-201406-36
misc
mlist
  • [oss-security] 20120605 CVE request: openldap does not honor TLSCipherSuite configuration option
  • [oss-security] 20120605 Re: CVE request: openldap does not honor TLSCipherSuite configuration option
  • [oss-security] 20120606 Re: CVE request: openldap does not honor TLSCipherSuite configuration option
sectrack 1027127
xf openldap-nss-weak-security(76099)
Last major update 06-01-2017 - 21:59
Published 16-06-2012 - 23:41
Last modified 28-08-2017 - 21:31
Back to Top