SA-2010-007 Checksum vulnerabilities (CVE-2010-1324 and others)
authorTom Yu <tlyu@mit.edu>
Sat, 4 Dec 2010 05:11:04 +0000 (05:11 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 4 Dec 2010 05:11:04 +0000 (05:11 +0000)
commitbac36d1fd252ac8b3cb8bfa3855f20762635cd50
tree8068db64239424cfdc787e032a4af9a7389fa9ba
parent8443c296ca3f628e600b9de08cd4a573b1e79675
SA-2010-007 Checksum vulnerabilities (CVE-2010-1324 and others)

Apply patch for MITKRB5-SA-2010-007.

Fix multiple checksum handling bugs, as described in:
  CVE-2010-1324
  CVE-2010-1323
  CVE-2010-4020
  CVE-2010-4021

* Return the correct (keyed) checksums as the mandatory checksum type
  for DES enctypes.
* Restrict simplified-profile checksums to their corresponding etypes.
* Add internal checks to reduce the risk of stream ciphers being used
  with simplified-profile key derivation or other algorithms relying
  on the block encryption primitive.
* Use the mandatory checksum type for the PKINIT KDC signature,
  instead of the first-listed keyed checksum.
* Use the mandatory checksum type when sending KRB-SAFE messages by
  default, instead of the first-listed keyed checksum.
* Use the mandatory checksum type for the t_kperf test program.
* Use the mandatory checksum type (without additional logic) for the
  FAST request checksum.
* Preserve the existing checksum choices (unkeyed checksums for DES
  enctypes) for the authenticator checksum, using explicit logic.
* Ensure that SAM checksums received from the KDC are keyed.
* Ensure that PAC checksums are keyed.

ticket: 6833
target_version: 1.8.4
version_fixed: 1.8.4
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@24560 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/krb/cksumtypes.c
src/lib/crypto/krb/dk/derive.c
src/lib/crypto/krb/keyed_checksum_types.c
src/lib/gssapi/krb5/util_crypt.c
src/lib/krb5/krb/mk_safe.c
src/lib/krb5/krb/pac.c
src/lib/krb5/krb/preauth2.c
src/plugins/preauth/pkinit/pkinit_srv.c