United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6893158 AP_REQ check should use key version number (updated by 6907425)
6893158 : AP_REQ check should use key version number (updated by 6907425)

Details
Type:
Bug
Submit Date:
2009-10-20
Status:
Resolved
Updated Date:
2010-11-04
Project Name:
JDK
Resolved Date:
2009-11-24
Component:
security-libs
OS:
generic
Sub-Component:
org.ietf.jgss:krb5
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports
Backport:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
In Kerberos, a server side program saves long term secret keys into a keytab file and uses it to authenticate AP_REQ messages sent by a client. The AP_REQ is encrypted by the KDC using a key stored in KDC's database. The key is identified by an encryption type and a key version number so that the server can locate the correct key from the keytab. Currently, Java only uses encrytion type to search for the key. If there are multiple keys with the same etype for a given server, it's quite likely that a wrong key is returned. The result is that the AP_REQ message cannot be authenticated and checksum error is thrown.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/tl/jdk/rev/6764ef7d539d
                                     
2009-10-28



Hardware and Software, Engineered to Work Together