]> git.ipfire.org Git - thirdparty/krb5.git/commit
Prevent KDC unset status assertion failures
authorGreg Hudson <ghudson@mit.edu>
Thu, 13 Jul 2017 16:14:20 +0000 (12:14 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 24 Jul 2017 14:40:01 +0000 (10:40 -0400)
commitffb35baac6981f9e8914f8f3bffd37f284b85970
treec1ce453cc45d5a9a32539fc28de3f355a3788e58
parente458441f34e47a218ce7e60fef394821fa0a934d
Prevent KDC unset status assertion failures

Assign status values if S4U2Self padata fails to decode, if an
S4U2Proxy request uses invalid KDC options, or if an S4U2Proxy request
uses an evidence ticket which does not match the canonicalized request
server principal name.  Reported by Samuel Cabrero.

If a status value is not assigned during KDC processing, default to
"UNKNOWN_REASON" rather than failing an assertion.  This change will
prevent future denial of service bugs due to similar mistakes, and
will allow us to omit assigning status values for unlikely errors such
as small memory allocation failures.

CVE-2017-11368:

In MIT krb5 1.7 and later, an authenticated attacker can cause an
assertion failure in krb5kdc by sending an invalid S4U2Self or
S4U2Proxy request.

  CVSSv3 Vector: AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:H/RL:O/RC:C

ticket: 8599 (new)
target_version: 1.15-next
target_version: 1.14-next
tags: pullup
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/kdc/kdc_util.c