Bug 1128157 (CVE-2014-4345)

Summary: CVE-2014-4345 krb5: buffer overrun in kadmind with LDAP backend (MITKRB5-SA-2014-001)
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, dpal, dsirrine, jplans, jrusnack, nalin, nathaniel, rmainz, sashaikh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: krb5 1.11.6, krb5 1.12.2 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-06 10:12:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1121510, 1130950, 1132785    
Bug Blocks: 1101912, 1121513, 1128161    

Description Vasyl Kaigorodov 2014-08-08 12:53:03 UTC
Upstream released advisory [1] which fixes out-of-bounds write (buffer overflow)
Summary from the advisory:
...
In MIT krb5, when kadmind is configured to use LDAP for the KDC
database, an authenticated remote attacker can cause it to perform an
out-of-bounds write (buffer overflow).  This is not a protocol
vulnerability.  Using LDAP for the KDC database is a non-default
configuration for the KDC.
...

Further technical details and patches are available on the advisory page as well.


External References:

http://web.mit.edu/Kerberos/advisories/MITKRB5-SA-2014-001.txt

Comment 1 Fedora Update System 2014-08-15 02:45:54 UTC
krb5-1.11.5-11.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-08-27 01:34:49 UTC
krb5-1.11.3-25.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Martin Prpič 2014-09-09 09:47:28 UTC
IssueDescription:

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.

Comment 7 errata-xmlrpc 2014-09-17 10:48:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:1255 https://rhn.redhat.com/errata/RHSA-2014-1255.html

Comment 8 errata-xmlrpc 2014-10-14 08:11:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1389 https://rhn.redhat.com/errata/RHSA-2014-1389.html

Comment 9 Huzaifa S. Sidhpurwala 2014-10-14 09:29:20 UTC
Statement:

(none)

Comment 10 errata-xmlrpc 2015-03-05 10:01:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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