ESB-2018.0273 - [Linux][RedHat] 389-ds-base: Execute arbitrary code/commands - Remote/unauthenticated 2018-01-29

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.0273
            Important: 389-ds-base security and bug fix update
                              29 January 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           389-ds-base
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
                   Linux variants
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-15134  

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2018:0163

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running 389-ds-base check for an updated version of the software for
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: 389-ds-base security and bug fix update
Advisory ID:       RHSA-2018:0163-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2018:0163
Issue date:        2018-01-25
CVE Names:         CVE-2017-15134 
=====================================================================

1. Summary:

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.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64le, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) - aarch64, ppc64le
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) - aarch64, ppc64le

3. Description:

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 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)

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

After installing this update, the 389 server service will be restarted
automatically.

5. Bugs fixed (https://bugzilla.redhat.com/):

1523505 - opened connection are hanging, no longer poll [rhel-7.4.z]
1523507 - IPA server replication broken, after DS stop-start, due to changelog reset [rhel-7.4.z]
1526928 - search with CoS attribute is getting slower after modifying/adding CosTemplate [rhel-7.4.z]
1531573 - CVE-2017-15134 389-ds-base: Remote DoS via search filters in slapi_filter_sprintf in slapd/util.c

6. Package List:

Red Hat Enterprise Linux Client Optional (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

x86_64:
389-ds-base-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

x86_64:
389-ds-base-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

ppc64le:
389-ds-base-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.ppc64le.rpm

x86_64:
389-ds-base-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.x86_64.rpm

Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

aarch64:
389-ds-base-1.3.6.1-26.el7_4.aarch64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.aarch64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.aarch64.rpm

ppc64le:
389-ds-base-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.ppc64le.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

ppc64:
389-ds-base-1.3.6.1-26.el7_4.ppc64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.ppc64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.ppc64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.ppc64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.ppc64.rpm

ppc64le:
389-ds-base-debuginfo-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.ppc64le.rpm

s390x:
389-ds-base-1.3.6.1-26.el7_4.s390x.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.s390x.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.s390x.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.s390x.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.s390x.rpm

x86_64:
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.x86_64.rpm

Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

aarch64:
389-ds-base-debuginfo-1.3.6.1-26.el7_4.aarch64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.aarch64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.aarch64.rpm

ppc64le:
389-ds-base-debuginfo-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.ppc64le.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.ppc64le.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
389-ds-base-1.3.6.1-26.el7_4.src.rpm

x86_64:
389-ds-base-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-libs-1.3.6.1-26.el7_4.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
389-ds-base-debuginfo-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-devel-1.3.6.1-26.el7_4.x86_64.rpm
389-ds-base-snmp-1.3.6.1-26.el7_4.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2017-15134
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2018 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFaab+LXlSAg2UNWIIRAvlJAJ0cBcGxah+uHGkP4U45NL0A1CLE0wCaAqsf
IWihUfTHmO5Kxxhb23DGafE=
=mEDp
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWm6AE4x+lLeg9Ub1AQh2Og/9HPK3ckgLSsJrwgHuHrqC+/S7PrawxN8V
MU82znMO13UBhA0/tyK8e06o9aplTXlBUzo8KQHFLoWO1gx8Pyd/r2PBDYkN+C8T
8ZnU6j6SjxZwOJXJwwkMDBA8gyGtXojmygSjgpQtIFYCWcJnv7zFwcdi1Zq+DW4x
OkdZDNGJjfIOZ/Mdhwz4mADRAGC2BQabJIe3/fdQZ2V0W9kwJez998DXVkTmrNKp
dw+DLOqtCvkAeJRddFomwnYA9vsi9ZZ1GX8q1vLia59l23pOzHgKTWfJ0cKafjSi
yYLId8IJl3EKOTM5U4vyU/HZHEbGBBLjW+lAGy5qQFooroagqtaB5tGz4fCroIYw
voy9T18LSoF4zlvqwb+oVvZ0iOr3YkfAA9nvY/nQtfB+/hAcMTvYR6TkytA6eEB4
QlSiGhbi7fBglUSWEjq/clZ4mq8c56MyZXQZlTbbeU4KCwMN00BSY3UZQpwu7GVr
78jHOAp1ToTY0uGu5DUI+pfPyJJD6HZP4HyXea1vkJxmzhvwz2i3c6Q5IcoJaH6d
NahictrpbpfDwM+57GrhFD81ByVq7p9axtzlZ02eZPsug3a0titci5Jf0TEw4hFu
p3J/iwJfvnxED1mXkQebepILsW78nC7la0XnU/OW//uNxSasjmAd4FIX6zojhz8j
nmu6ln9/nNE=
=Wk8F
-----END PGP SIGNATURE-----

« Back to bulletins