]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use preauth timestamp in PKINIT clpreauth module
authorGreg Hudson <ghudson@mit.edu>
Mon, 9 Feb 2015 17:38:06 +0000 (12:38 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 19 Feb 2015 17:47:31 +0000 (12:47 -0500)
commitfcc1076541a3bd9a5fa4db0be6f74888b3f5f193
treeccb9cb1d77c230f39542405b85b2cda889f5e745
parent54984d618e01027abe73e6772fe7049c79938518
Use preauth timestamp in PKINIT clpreauth module

Use the timestamp from the KDC's preauth-required error when
generating a PKAuthenticator in pa_pkinit_gen_req(), to allow PKINIT
authentication to succeed despite client clock skew if kdc_timesync is
set.

Because this timestamp is unauthenticated (unless FAST is used), an
attacker could induce a legitimate client to generate a
PKAuthenticator for a future timestamp.  But replaying this request in
the future would only cause the KDC to issue a ticket which the
attacker cannot decrypt.

ticket: 8124 (new)
src/plugins/preauth/pkinit/pkinit_clnt.c