ID CVE-2012-1164
Summary slapd in OpenLDAP before 2.4.30 allows remote attackers to cause a denial of service (assertion failure and daemon exit) via an LDAP search query with attrsOnly set to true, which causes empty attributes to be returned.
References
Vulnerable Configurations
  • 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: 2.6 (as of 02-07-2012 - 10:04)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-0899.NASL
    description From Red Hat Security Advisory 2012:0899 : Updated openldap packages that fix one security issue and several bugs 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. A denial of service flaw was found in the way the OpenLDAP server daemon (slapd) processed certain search queries requesting only attributes and no values. In certain configurations, a remote attacker could issue a specially crafted LDAP search query that, when processed by slapd, would cause slapd to crash due to an assertion failure. (CVE-2012-1164) These updated openldap packages include numerous bug fixes. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.3 Technical Notes for information on the most significant of these changes. 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 68559
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68559
    title Oracle Linux 6 : openldap (ELSA-2012-0899)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2012-130.NASL
    description A vulnerability was found and corrected in openldap : slapd in OpenLDAP before 2.4.30 allows remote attackers to cause a denial of service (assertion failure and daemon exit) via an LDAP search query with attrsOnly set to true, which causes empty attributes to be returned (CVE-2012-1164). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 61979
    published 2012-09-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61979
    title Mandriva Linux Security Advisory : openldap (MDVSA-2012:130)
  • 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 Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-0899.NASL
    description Updated openldap packages that fix one security issue and several bugs 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. A denial of service flaw was found in the way the OpenLDAP server daemon (slapd) processed certain search queries requesting only attributes and no values. In certain configurations, a remote attacker could issue a specially crafted LDAP search query that, when processed by slapd, would cause slapd to crash due to an assertion failure. (CVE-2012-1164) These updated openldap packages include numerous bug fixes. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.3 Technical Notes for information on the most significant of these changes. 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-12-20
    plugin id 59595
    published 2012-06-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59595
    title RHEL 6 : openldap (RHSA-2012:0899)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2622-1.NASL
    description It was discovered that OpenLDAP incorrectly handled certain search queries that returned empty attributes. A remote attacker could use this issue to cause OpenLDAP to assert, resulting in a denial of service. This issue only affected Ubuntu 12.04 LTS. (CVE-2012-1164) Michael Vishchers discovered that OpenLDAP improperly counted references when the rwm overlay was used. A remote attacker could use this issue to cause OpenLDAP to crash, resulting in a denial of service. (CVE-2013-4449) It was discovered that OpenLDAP incorrectly handled certain empty attribute lists in search requests. A remote attacker could use this issue to cause OpenLDAP to crash, resulting in a denial of service. (CVE-2015-1545). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu 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-12-01
    plugin id 83863
    published 2015-05-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83863
    title Ubuntu 12.04 LTS / 14.04 LTS / 14.10 / 15.04 : openldap vulnerabilities (USN-2622-1)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-0899.NASL
    description Updated openldap packages that fix one security issue and several bugs 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. A denial of service flaw was found in the way the OpenLDAP server daemon (slapd) processed certain search queries requesting only attributes and no values. In certain configurations, a remote attacker could issue a specially crafted LDAP search query that, when processed by slapd, would cause slapd to crash due to an assertion failure. (CVE-2012-1164) These updated openldap packages include numerous bug fixes. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.3 Technical Notes for information on the most significant of these changes. 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 59930
    published 2012-07-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59930
    title CentOS 6 : openldap (CESA-2012:0899)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20120620_OPENLDAP_ON_SL6_X.NASL
    description OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. A denial of service flaw was found in the way the OpenLDAP server daemon (slapd) processed certain search queries requesting only attributes and no values. In certain configurations, a remote attacker could issue a specially crafted LDAP search query that, when processed by slapd, would cause slapd to crash due to an assertion failure. (CVE-2012-1164) These updated openldap packages include numerous bug fixes. 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-12-31
    plugin id 61344
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61344
    title Scientific Linux Security Update : openldap on SL6.x i386/x86_64
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-101.NASL
    description A denial of service flaw was found in the way the OpenLDAP server daemon (slapd) processed certain search queries requesting only attributes and no values. In certain configurations, a remote attacker could issue a specially crafted LDAP search query that, when processed by slapd, would cause slapd to crash due to an assertion failure. (CVE-2012-1164)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69591
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69591
    title Amazon Linux AMI : openldap (ALAS-2012-101)
redhat via4
advisories
bugzilla
id 818844
title MozNSS CA cert dir does not work together with PEM CA cert file
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment openldap is earlier than 0:2.4.23-26.el6
        oval oval:com.redhat.rhsa:tst:20120899005
      • comment openldap is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110347006
    • AND
      • comment openldap-clients is earlier than 0:2.4.23-26.el6
        oval oval:com.redhat.rhsa:tst:20120899007
      • comment openldap-clients is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110347016
    • AND
      • comment openldap-devel is earlier than 0:2.4.23-26.el6
        oval oval:com.redhat.rhsa:tst:20120899013
      • comment openldap-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110347008
    • AND
      • comment openldap-servers is earlier than 0:2.4.23-26.el6
        oval oval:com.redhat.rhsa:tst:20120899009
      • comment openldap-servers is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110347012
    • AND
      • comment openldap-servers-sql is earlier than 0:2.4.23-26.el6
        oval oval:com.redhat.rhsa:tst:20120899011
      • comment openldap-servers-sql is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110347014
rhsa
id RHSA-2012:0899
released 2012-06-20
severity Low
title RHSA-2012:0899: openldap security and bug fix update (Low)
rpms
  • openldap-0:2.4.23-26.el6
  • openldap-clients-0:2.4.23-26.el6
  • openldap-devel-0:2.4.23-26.el6
  • openldap-servers-0:2.4.23-26.el6
  • openldap-servers-sql-0:2.4.23-26.el6
refmap via4
bid 52404
confirm
gentoo GLSA-201406-36
mandriva MDVSA-2012:130
secunia
  • 48372
  • 49607
Last major update 06-01-2017 - 21:59
Published 29-06-2012 - 15:55
Back to Top