ID CVE-2017-15134
Summary A stack buffer overflow flaw was found in the way 389-ds-base 1.3.6.x before 1.3.6.13, 1.3.7.x before 1.3.7.9, 1.4.x before 1.4.0.5 handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service.
References
Vulnerable Configurations
  • Fedora Project 389 Directory Server 1.3.6.1
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.1
  • Fedora Project 389 Directory Server 1.3.6.2
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.2
  • Fedora Project 389 Directory Server 1.3.6.3
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.3
  • Fedora Project 389 Directory Server 1.3.6.4
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.4
  • Fedora Project 389 Directory Server 1.3.6.5
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.5
  • Fedora Project 389 Directory Server 1.3.6.6
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.6
  • Fedora Project 389 Directory Server 1.3.6.7
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.7
  • Fedora Project 389 Directory Server 1.3.6.8
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.8
  • Fedora Project 389 Directory Server 1.3.6.9
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.9
  • Fedora Project 389 Directory Server 1.3.6.10
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.10
  • Fedora Project 389 Directory Server 1.3.6.11
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.11
  • Fedora Project 389 Directory Server 1.3.6.12
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.6.12
  • Fedora Project 389 Directory Server 1.3.7.1
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.1
  • Fedora Project 389 Directory Server 1.3.7.2
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.2
  • Fedora Project 389 Directory Server 1.3.7.3
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.3
  • Fedora Project 389 Directory Server 1.3.7.4
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.4
  • Fedora Project 389 Directory Server 1.3.7.5
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.5
  • Fedora Project 389 Directory Server 1.3.7.6
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.6
  • Fedora Project 389 Directory Server 1.3.7.7
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.7
  • Fedora Project 389 Directory Server 1.3.7.8
    cpe:2.3:a:fedoraproject:389_directory_server:1.3.7.8
  • Fedora Project 389 Directory Server 1.4.0.0
    cpe:2.3:a:fedoraproject:389_directory_server:1.4.0.0
  • Fedora Project 389 Directory Server 1.4.0.1
    cpe:2.3:a:fedoraproject:389_directory_server:1.4.0.1
  • Fedora Project 389 Directory Server 1.4.0.2
    cpe:2.3:a:fedoraproject:389_directory_server:1.4.0.2
  • Fedora Project 389 Directory Server 1.4.0.3
    cpe:2.3:a:fedoraproject:389_directory_server:1.4.0.3
  • Fedora Project 389 Directory Server 1.4.0.4
    cpe:2.3:a:fedoraproject:389_directory_server:1.4.0.4
  • Red Hat Enterprise Linux 7.4
    cpe:2.3:o:redhat:enterprise_linux:7.4
  • RedHat Enterprise Linux Desktop 7.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0
  • RedHat Enterprise Linux Server 7.0
    cpe:2.3:o:redhat:enterprise_linux_server:7.0
  • cpe:2.3:o:redhat:enterprise_linux_server:7.4
    cpe:2.3:o:redhat:enterprise_linux_server:7.4
  • RedHat Enterprise Linux Workstation 7.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0
CVSS
Base: 5.0
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.
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2018-0163.NASL
    description An update for 389-ds-base is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. 389 Directory Server is an LDAP version 3 (LDAPv3) compliant server. The base packages include the Lightweight Directory Access Protocol (LDAP) server and command-line utilities for server administration. Security Fix(es) : * A stack-based buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Bug Fix(es) : * Previously, when a connection received a high operation rate, Directory Server stopped to poll the connection in certain situations. As a consequence, new requests on the connection were not detected and processed. With this update, Directory Server correctly decides whether a connection has to be polled. As a result, connections with a high request rate no longer remain unprocessed. (BZ#1523505) * Previously, if Directory Server was stopped during an operation which created additional changes in the memory changelog, the Replication Update Vector (RUV) in the changelog was higher than the RUV in the database. As a consequence, Directory Server recreated the changelog when the server started. With this update, the server now writes the highest RUV to the changelog only if there is the highest Change Sequence Number (CSN) present in it. As a result, the database and the changelog RUV are consistent and the server does not need recreating the changelog at start up. (BZ#1523507) * Due to a bug, using a large number of Class of Service (CoS) templates in Directory Server increased the virtual attribute processing time. This update improves the structure of the CoS storage. As a result, using a large number of CoS templates no longer increases the virtual attribute processing time. (BZ#1526928)
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 106333
    published 2018-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106333
    title RHEL 7 : 389-ds-base (RHSA-2018:0163)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-1428.NASL
    description CVE-2015-1854 A flaw was found while doing authorization of modrdn operations. An unauthenticated attacker able to issue an ldapmodrdn call to the directory server could perform unauthorized modifications of entries in the directory server. CVE-2017-15134 Improper handling of a search filter in slapi_filter_sprintf() in slapd/util.c can lead to remote server crash and denial of service. CVE-2018-1054 When read access on is enabled, a flaw in SetUnicodeStringFromUTF_8 function in collate.c, can lead to out-of-bounds memory operations. This might result in a server crash, caused by unauthorized users. CVE-2018-1089 Any user (anonymous or authenticated) can crash ns-slapd with a crafted ldapsearch query with very long filter value. CVE-2018-10850 Due to a race condition the server could crash in turbo mode (because of high traffic) or when a worker reads several requests in the read buffer (more_data). Thus an anonymous attacker could trigger a denial of service. For Debian 8 'Jessie', these problems have been fixed in version 1.3.3.5-4+deb8u1. We recommend that you upgrade your 389-ds-base packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA 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-08-08
    plugin id 111086
    published 2018-07-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=111086
    title Debian DLA-1428-1 : 389-ds-base security update
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2018-1032.NASL
    description According to the version of the 389-ds-base packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - A stack buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS 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-13
    plugin id 106760
    published 2018-02-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106760
    title EulerOS 2.0 SP1 : 389-ds-base (EulerOS-SA-2018-1032)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2018-0163.NASL
    description From Red Hat Security Advisory 2018:0163 : An update for 389-ds-base is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. 389 Directory Server is an LDAP version 3 (LDAPv3) compliant server. The base packages include the Lightweight Directory Access Protocol (LDAP) server and command-line utilities for server administration. Security Fix(es) : * A stack-based buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Bug Fix(es) : * Previously, when a connection received a high operation rate, Directory Server stopped to poll the connection in certain situations. As a consequence, new requests on the connection were not detected and processed. With this update, Directory Server correctly decides whether a connection has to be polled. As a result, connections with a high request rate no longer remain unprocessed. (BZ#1523505) * Previously, if Directory Server was stopped during an operation which created additional changes in the memory changelog, the Replication Update Vector (RUV) in the changelog was higher than the RUV in the database. As a consequence, Directory Server recreated the changelog when the server started. With this update, the server now writes the highest RUV to the changelog only if there is the highest Change Sequence Number (CSN) present in it. As a result, the database and the changelog RUV are consistent and the server does not need recreating the changelog at start up. (BZ#1523507) * Due to a bug, using a large number of Class of Service (CoS) templates in Directory Server increased the virtual attribute processing time. This update improves the structure of the CoS storage. As a result, using a large number of CoS templates no longer increases the virtual attribute processing time. (BZ#1526928)
    last seen 2019-02-21
    modified 2018-07-25
    plugin id 106366
    published 2018-01-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106366
    title Oracle Linux 7 : 389-ds-base (ELSA-2018-0163)
  • NASL family Amazon Linux Local Security Checks
    NASL id AL2_ALAS-2018-955.NASL
    description Remote DoS via search filters in slapi_filter_sprintf in slapd/util.c A stack buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 109126
    published 2018-04-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109126
    title Amazon Linux 2 : 389-ds-base (ALAS-2018-955)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2018-0163.NASL
    description An update for 389-ds-base is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. 389 Directory Server is an LDAP version 3 (LDAPv3) compliant server. The base packages include the Lightweight Directory Access Protocol (LDAP) server and command-line utilities for server administration. Security Fix(es) : * A stack-based buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Bug Fix(es) : * Previously, when a connection received a high operation rate, Directory Server stopped to poll the connection in certain situations. As a consequence, new requests on the connection were not detected and processed. With this update, Directory Server correctly decides whether a connection has to be polled. As a result, connections with a high request rate no longer remain unprocessed. (BZ#1523505) * Previously, if Directory Server was stopped during an operation which created additional changes in the memory changelog, the Replication Update Vector (RUV) in the changelog was higher than the RUV in the database. As a consequence, Directory Server recreated the changelog when the server started. With this update, the server now writes the highest RUV to the changelog only if there is the highest Change Sequence Number (CSN) present in it. As a result, the database and the changelog RUV are consistent and the server does not need recreating the changelog at start up. (BZ#1523507) * Due to a bug, using a large number of Class of Service (CoS) templates in Directory Server increased the virtual attribute processing time. This update improves the structure of the CoS storage. As a result, using a large number of CoS templates no longer increases the virtual attribute processing time. (BZ#1526928)
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 106355
    published 2018-01-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106355
    title CentOS 7 : 389-ds-base (CESA-2018:0163)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20180125_389_DS_BASE_ON_SL7_X.NASL
    description Security Fix(es) : - A stack-based buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Bug Fix(es) : - Previously, when a connection received a high operation rate, Directory Server stopped to poll the connection in certain situations. As a consequence, new requests on the connection were not detected and processed. With this update, Directory Server correctly decides whether a connection has to be polled. As a result, connections with a high request rate no longer remain unprocessed. - Previously, if Directory Server was stopped during an operation which created additional changes in the memory changelog, the Replication Update Vector (RUV) in the changelog was higher than the RUV in the database. As a consequence, Directory Server recreated the changelog when the server started. With this update, the server now writes the highest RUV to the changelog only if there is the highest Change Sequence Number (CSN) present in it. As a result, the database and the changelog RUV are consistent and the server does not need recreating the changelog at start up. - Due to a bug, using a large number of Class of Service (CoS) templates in Directory Server increased the virtual attribute processing time. This update improves the structure of the CoS storage. As a result, using a large number of CoS templates no longer increases the virtual attribute processing time.
    last seen 2019-02-21
    modified 2018-12-27
    plugin id 106338
    published 2018-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106338
    title Scientific Linux Security Update : 389-ds-base on SL7.x x86_64
  • NASL family Huawei Local Security Checks
    NASL id EULEROS_SA-2018-1033.NASL
    description According to the version of the 389-ds-base packages installed, the EulerOS installation on the remote host is affected by the following vulnerability : - A stack buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service. (CVE-2017-15134) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS 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-13
    plugin id 106761
    published 2018-02-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106761
    title EulerOS 2.0 SP2 : 389-ds-base (EulerOS-SA-2018-1033)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2018-955.NASL
    description Remote DoS via search filters in slapi_filter_sprintf in slapd/util.c A stack buffer overflow flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service.(CVE-2017-15134)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 106932
    published 2018-02-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=106932
    title Amazon Linux AMI : 389-ds-base (ALAS-2018-955)
redhat via4
advisories
bugzilla
id 1531573
title CVE-2017-15134 389-ds-base: Remote DoS via search filters in slapi_filter_sprintf in slapd/util.c
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 7 Client is installed
      oval oval:com.redhat.rhsa:tst:20140675001
    • comment Red Hat Enterprise Linux 7 Server is installed
      oval oval:com.redhat.rhsa:tst:20140675002
    • comment Red Hat Enterprise Linux 7 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20140675003
    • comment Red Hat Enterprise Linux 7 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20140675004
  • OR
    • AND
      • comment 389-ds-base is earlier than 0:1.3.6.1-26.el7_4
        oval oval:com.redhat.rhsa:tst:20180163009
      • comment 389-ds-base is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120813006
    • AND
      • comment 389-ds-base-devel is earlier than 0:1.3.6.1-26.el7_4
        oval oval:com.redhat.rhsa:tst:20180163011
      • comment 389-ds-base-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120813008
    • AND
      • comment 389-ds-base-libs is earlier than 0:1.3.6.1-26.el7_4
        oval oval:com.redhat.rhsa:tst:20180163005
      • comment 389-ds-base-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120813010
    • AND
      • comment 389-ds-base-snmp is earlier than 0:1.3.6.1-26.el7_4
        oval oval:com.redhat.rhsa:tst:20180163007
      • comment 389-ds-base-snmp is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20162594010
rhsa
id RHSA-2018:0163
released 2018-01-25
severity Important
title RHSA-2018:0163: 389-ds-base security and bug fix update (Important)
rpms
  • 389-ds-base-0:1.3.6.1-26.el7_4
  • 389-ds-base-devel-0:1.3.6.1-26.el7_4
  • 389-ds-base-libs-0:1.3.6.1-26.el7_4
  • 389-ds-base-snmp-0:1.3.6.1-26.el7_4
refmap via4
bid 102790
confirm https://bugzilla.redhat.com/show_bug.cgi?id=1531573
misc https://pagure.io/389-ds-base/c/6aa2acdc3cad9
mlist [debian-lts-announce] 20180715 [SECURITY] [DLA 1428-1] 389-ds-base security update
Last major update 01-03-2018 - 17:29
Published 01-03-2018 - 17:29
Last modified 16-07-2018 - 21:29
Back to Top