Skip to content

Commit 6dd3eb8

Browse files
committed
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
1 parent 0fc03c5 commit 6dd3eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/krb5/ticket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ _krb5_extract_ticket(krb5_context context,
705705
/* check server referral and save principal */
706706
ret = _krb5_principalname2krb5_principal (context,
707707
&tmp_principal,
708-
rep->kdc_rep.ticket.sname,
709-
rep->kdc_rep.ticket.realm);
708+
rep->enc_part.sname,
709+
rep->enc_part.srealm);
710710
if (ret)
711711
goto out;
712712
if((flags & EXTRACT_TICKET_ALLOW_SERVER_MISMATCH) == 0){

0 commit comments

Comments
 (0)