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

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

                               ESB-2015.0511
          Moderate: krb5 security, bug fix and enhancement update
                               6 March 2015

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

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

Product:           krb5
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Administrator Compromise -- Existing Account      
                   Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-9423 CVE-2014-9422 CVE-2014-9421
                   CVE-2014-5353 CVE-2014-5352 CVE-2014-4345
                   CVE-2014-4344 CVE-2014-4343 CVE-2014-4342
                   CVE-2014-4341  

Reference:         ESB-2015.0272
                   ESB-2015.0270
                   ESB-2014.1836
                   ESB-2014.1611

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2015-0439.html

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

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

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

Synopsis:          Moderate: krb5 security, bug fix and enhancement update
Advisory ID:       RHSA-2015:0439-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2015-0439.html
Issue date:        2015-03-05
CVE Names:         CVE-2014-4341 CVE-2014-4342 CVE-2014-4343 
                   CVE-2014-4344 CVE-2014-4345 CVE-2014-5352 
                   CVE-2014-5353 CVE-2014-9421 CVE-2014-9422 
                   CVE-2014-9423 
=====================================================================

1. Summary:

Updated krb5 packages that fix multiple security issues, several bugs, and
add various enhancements are now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Moderate security
impact. Common Vulnerability Scoring System (CVSS) base scores, which give
detailed severity ratings, are available for each vulnerability from the
CVE links in the References section.

Kerberos is a networked authentication system which allows clients and
servers to authenticate to each other with the help of a trusted third
party, the Kerberos KDC.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64

3. Description:

A NULL pointer dereference flaw was found in the MIT Kerberos SPNEGO
acceptor for continuation tokens. A remote, unauthenticated attacker could
use this flaw to crash a GSSAPI-enabled server application. (CVE-2014-4344)

A buffer overflow was found in the KADM5 administration server (kadmind)
when it was used with an LDAP back end for the KDC database. A remote,
authenticated attacker could potentially use this flaw to execute arbitrary
code on the system running kadmind. (CVE-2014-4345)

A use-after-free flaw was found in the way the MIT Kerberos libgssapi_krb5
library processed valid context deletion tokens. An attacker able to make
an application using the GSS-API library (libgssapi) call the
gss_process_context_token() function could use this flaw to crash that
application. (CVE-2014-5352)

If kadmind were used with an LDAP back end for the KDC database, a remote,
authenticated attacker with the permissions to set the password policy
could crash kadmind by attempting to use a named ticket policy object as a
password policy for a principal. (CVE-2014-5353)

A double-free flaw was found in the way MIT Kerberos handled invalid
External Data Representation (XDR) data. An authenticated user could use
this flaw to crash the MIT Kerberos administration server (kadmind), or
other applications using Kerberos libraries, using specially crafted XDR
packets. (CVE-2014-9421)

It was found that the MIT Kerberos administration server (kadmind)
incorrectly accepted certain authentication requests for two-component
server principal names. A remote attacker able to acquire a key with a
particularly named principal (such as "kad/x") could use this flaw to
impersonate any user to kadmind, and perform administrative actions as that
user. (CVE-2014-9422)

An information disclosure flaw was found in the way MIT Kerberos RPCSEC_GSS
implementation (libgssrpc) handled certain requests. An attacker could send
a specially crafted request to an application using libgssrpc to disclose a
limited portion of uninitialized memory used by that application.
(CVE-2014-9423)

Two buffer over-read flaws were found in the way MIT Kerberos handled
certain requests. A remote, unauthenticated attacker able to inject packets
into a client or server application's GSSAPI session could use either of
these flaws to crash the application. (CVE-2014-4341, CVE-2014-4342)

A double-free flaw was found in the MIT Kerberos SPNEGO initiators. An
attacker able to spoof packets to appear as though they are from an GSSAPI
acceptor could use this flaw to crash a client application that uses MIT
Kerberos. (CVE-2014-4343)

Red Hat would like to thank the MIT Kerberos project for reporting the
CVE-2014-5352, CVE-2014-9421, CVE-2014-9422, and CVE-2014-9423 issues. MIT
Kerberos project acknowledges Nico Williams for helping with the analysis
of CVE-2014-5352.

The krb5 packages have been upgraded to upstream version 1.12, which
provides a number of bug fixes and enhancements, including:

* Added plug-in interfaces for principal-to-username mapping and verifying
authorization to user accounts.

* When communicating with a KDC over a connected TCP or HTTPS socket, the
client gives the KDC more time to reply before it transmits the request to
another server. (BZ#1049709, BZ#1127995)

This update also fixes multiple bugs, for example:

* The Kerberos client library did not recognize certain exit statuses that
the resolver libraries could return when looking up the addresses of
servers configured in the /etc/krb5.conf file or locating Kerberos servers
using DNS service location. The library could treat non-fatal return codes
as fatal errors. Now, the library interprets the specific return codes
correctly. (BZ#1084068, BZ#1109102)

In addition, this update adds various enhancements. Among others:

* Added support for contacting KDCs and kpasswd servers through HTTPS
proxies implementing the Kerberos KDC Proxy (KKDCP) protocol. (BZ#1109919)

4. Solution:

All krb5 users are advised to upgrade to these updated packages, which
correct these issues and add these enhancements.

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

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

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

1084068 - ipv6 address handling in krb5.conf
1102837 - Please backport improved GSSAPI mech configuration
1109102 - Kerberos does not handle incorrect Active Directory DNS SRV entries correctly
1109919 - Backport https support into libkrb5
1116180 - CVE-2014-4341 krb5: denial of service flaws when handling padding length longer than the plaintext
1118347 - ksu non-functional, gets invalid argument copying cred cache
1120581 - CVE-2014-4342 krb5: denial of service flaws when handling RFC 1964 tokens
1121789 - CVE-2014-4343: use-after-free crash in SPNEGO
1121876 - CVE-2014-4343 krb5: double-free flaw in SPNEGO initiators
1121877 - CVE-2014-4344 krb5: NULL pointer dereference flaw in SPNEGO acceptor for continuation tokens
1127995 - aggressive kinit timeout causes AS_REQ resent and subsequent OTP auth failure
1128157 - CVE-2014-4345 krb5: buffer overrun in kadmind with LDAP backend (MITKRB5-SA-2014-001)
1166012 - libkadmclnt SONAME change (8 to 9) in krb5 1.12 update
1174543 - CVE-2014-5353 krb5: NULL pointer dereference when using a ticket policy name as a password policy name
1179856 - CVE-2014-5352 krb5: gss_process_context_token() incorrectly frees context (MITKRB5-SA-2015-001)
1179857 - CVE-2014-9421 krb5: kadmind doubly frees partial deserialization results (MITKRB5-SA-2015-001)
1179861 - CVE-2014-9422 krb5: kadmind incorrectly validates server principal name (MITKRB5-SA-2015-001)
1179863 - CVE-2014-9423 krb5: libgssrpc server applications leak uninitialized bytes (MITKRB5-SA-2015-001)
1184629 - kinit loops on principals on unknown error

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
krb5-1.12.2-14.el7.src.rpm

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-libs-1.12.2-14.el7.i686.rpm
krb5-libs-1.12.2-14.el7.x86_64.rpm
krb5-pkinit-1.12.2-14.el7.x86_64.rpm
krb5-workstation-1.12.2-14.el7.x86_64.rpm

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

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-devel-1.12.2-14.el7.i686.rpm
krb5-devel-1.12.2-14.el7.x86_64.rpm
krb5-server-1.12.2-14.el7.x86_64.rpm
krb5-server-ldap-1.12.2-14.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
krb5-1.12.2-14.el7.src.rpm

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-libs-1.12.2-14.el7.i686.rpm
krb5-libs-1.12.2-14.el7.x86_64.rpm
krb5-pkinit-1.12.2-14.el7.x86_64.rpm
krb5-workstation-1.12.2-14.el7.x86_64.rpm

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

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-devel-1.12.2-14.el7.i686.rpm
krb5-devel-1.12.2-14.el7.x86_64.rpm
krb5-server-1.12.2-14.el7.x86_64.rpm
krb5-server-ldap-1.12.2-14.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
krb5-1.12.2-14.el7.src.rpm

ppc64:
krb5-debuginfo-1.12.2-14.el7.ppc.rpm
krb5-debuginfo-1.12.2-14.el7.ppc64.rpm
krb5-devel-1.12.2-14.el7.ppc.rpm
krb5-devel-1.12.2-14.el7.ppc64.rpm
krb5-libs-1.12.2-14.el7.ppc.rpm
krb5-libs-1.12.2-14.el7.ppc64.rpm
krb5-pkinit-1.12.2-14.el7.ppc64.rpm
krb5-server-1.12.2-14.el7.ppc64.rpm
krb5-server-ldap-1.12.2-14.el7.ppc64.rpm
krb5-workstation-1.12.2-14.el7.ppc64.rpm

s390x:
krb5-debuginfo-1.12.2-14.el7.s390.rpm
krb5-debuginfo-1.12.2-14.el7.s390x.rpm
krb5-devel-1.12.2-14.el7.s390.rpm
krb5-devel-1.12.2-14.el7.s390x.rpm
krb5-libs-1.12.2-14.el7.s390.rpm
krb5-libs-1.12.2-14.el7.s390x.rpm
krb5-pkinit-1.12.2-14.el7.s390x.rpm
krb5-server-1.12.2-14.el7.s390x.rpm
krb5-server-ldap-1.12.2-14.el7.s390x.rpm
krb5-workstation-1.12.2-14.el7.s390x.rpm

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-devel-1.12.2-14.el7.i686.rpm
krb5-devel-1.12.2-14.el7.x86_64.rpm
krb5-libs-1.12.2-14.el7.i686.rpm
krb5-libs-1.12.2-14.el7.x86_64.rpm
krb5-pkinit-1.12.2-14.el7.x86_64.rpm
krb5-server-1.12.2-14.el7.x86_64.rpm
krb5-server-ldap-1.12.2-14.el7.x86_64.rpm
krb5-workstation-1.12.2-14.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
krb5-1.12.2-14.el7.src.rpm

x86_64:
krb5-debuginfo-1.12.2-14.el7.i686.rpm
krb5-debuginfo-1.12.2-14.el7.x86_64.rpm
krb5-devel-1.12.2-14.el7.i686.rpm
krb5-devel-1.12.2-14.el7.x86_64.rpm
krb5-libs-1.12.2-14.el7.i686.rpm
krb5-libs-1.12.2-14.el7.x86_64.rpm
krb5-pkinit-1.12.2-14.el7.x86_64.rpm
krb5-server-1.12.2-14.el7.x86_64.rpm
krb5-server-ldap-1.12.2-14.el7.x86_64.rpm
krb5-workstation-1.12.2-14.el7.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-2014-4341
https://access.redhat.com/security/cve/CVE-2014-4342
https://access.redhat.com/security/cve/CVE-2014-4343
https://access.redhat.com/security/cve/CVE-2014-4344
https://access.redhat.com/security/cve/CVE-2014-4345
https://access.redhat.com/security/cve/CVE-2014-5352
https://access.redhat.com/security/cve/CVE-2014-5353
https://access.redhat.com/security/cve/CVE-2014-9421
https://access.redhat.com/security/cve/CVE-2014-9422
https://access.redhat.com/security/cve/CVE-2014-9423
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

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

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

iD8DBQFU+GoxXlSAg2UNWIIRAtkZAJ9PYyHLsR1t+YWgqw4jb4XTtX8iuACgkxfi
gZD8EL2lSaLXnIQxca8zLTg=
=aK0y
- -----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:

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBVPj9hBLndAQH1ShLAQKYoBAAruXmi+HILyCaymeXT8QXlveyzWmzVFzO
MAF1Ad/sieK2SlngKqAVyiB/D4jcSXeNbN0Z3GZGGIGkj/wo0FjxxU0/kBAsRjlM
T+FiX04AAlmlbkTnzxA+yb6vGMZ3Bl4KCbgZLYVAGQ9Zg6aJUS4ohq23k5tQO+Qh
OSOlcAURxe3e6ObAQvoH2JOTLSxMEiOnTa5TQYQiBQf6zfAYu6fpu1cZhlQJPC8b
46AQ1xty2RIoMCe/4D4zJKh/UUV53Z67X0I89GW8X0eFZ251r2cLXwYm2NLBY43y
QvW5BguGy8M3r+9igooMuhDysC/+qgjgceucQDEIp+SMhFYS87UjPcMHcf8t60Ml
AejrdDyQXSLGtC3HHCPoDGReZlIsXDtZ1XtabIeIKFUSlSEkoGPxQ/V9CDJV+qXq
52ukfsH253cW+Vd1wfvOpfSKq6B9ITyfkxKi7rND4fMtH5K9sayR0V2YPoTeF0VC
C60CJr3D6cKJfSl6PU/A8vOySOoSoHGftBxkBM80j+3LqKajTW6zuBZ1cOAXzy5C
WOeGDdMZ3Bq5rQukdVLbI2ujVacGP2MmQz5gvmfEqMkf9gfU3gOhaFHWkHin2lmG
RocbtvfHnRjglsaL/9rbU9FNyoBKRW/uV62+7xV0nGpc79yaPQOglxg3+KkDxh7B
NaS2SKoOoVI=
=gVMZ
-----END PGP SIGNATURE-----