CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 12 Apr 2017 19:40:42 +0000 (15:40 -0400)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Jul 2017 15:44:50 +0000 (17:44 +0200)
commit3799a32e41134a2dff797ebeacf5abdb8d332e6e
tree6f9c44422e8f41e27277ffed2b36ee06111e49a1
parentde9d21957706bd5d811db01b7b5d88a0bb17034b
CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation

In _krb5_extract_ticket() the KDC-REP service name must be obtained from
encrypted version stored in 'enc_part' instead of the unencrypted version
stored in 'ticket'.  Use of the unecrypted version provides an
opportunity for successful server impersonation and other attacks.

Identified by Jeffrey Altman, Viktor Duchovni and Nico Williams.

Change-Id: I45ef61e8a46e0f6588d64b5bd572a24c7432547c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12894
(based on heimdal commit 6dd3eb836bbb80a00ffced4ad57077a1cdf227ea)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 12 17:44:50 CEST 2017 on sn-devel-144
source4/heimdal/lib/krb5/ticket.c