SA-2010-007 Checksum vulnerabilities (CVE-2010-1324 and others)
authorTom Yu <tlyu@mit.edu>
Mon, 6 Dec 2010 23:23:17 +0000 (23:23 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 6 Dec 2010 23:23:17 +0000 (23:23 +0000)
commit3d88bdcd00abac812e86eeb07e4e6114f7e8775e
tree2a258fe69cb6c452ac36a69d296004e31259de7a
parent03d3e67fc1fb2d3542075bfaa343fce46bbdb852
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: 6837
target_version: 1.7.2
version_fixed: 1.7.2
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@24562 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/dk/derive.c
src/lib/crypto/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