REDHAT-BUG-461960: Medium severity Sun Microsystems pam_krb5 vulnerability

Published Sep 11, 2008
·
Updated

This bug was reported to us by Stéphane BERTIN.

The pamkrb5 module does not verify that the user has permission to read from the credential cache via the existingticket option.

From the mail Stéphane sent:

I failed to open SSH session with existingticket option.

I used these options to configure pamkrb5 : auth sufficient pamkrb5.so tryfirstpass minimumuid=1 useshmem=sshd existingticket validate=sshd debug

...

Extract from manual page : "existingticket tells pamkrb5.so to accept the presence of pre-existing Kerberos credentials provided by the calling application in the default credential cache as sufficient to authenticate the user, and to skip any account management checks. DANGER! Unless validation is also in use, it is relatively easy to produce a credential cache which looks "good enough" to fool pamkrb5.so."

I use validate=sshd like it is recommended but it seems danger is around ...

I notice two things : 1) the module try twice to get credential see logs "trying existing credentials" but don't try with user password and the session failed to be opened. (that's why I have written the bug report)

2) User try to open SSH session so he doesn't already have credentials and his variable KRB5CCNAME is not defined. By default module try to get credentials on file /tmp/krb5cc0. The root credential file !!! I don't know why but root credential file doesn't have the same format krb5cc0XXXXX.

So if root ask a ticket for user TEST and get credential what happens ... If you know which credential is used by root you can open a session without to know password !!!!

Acknowledgements:

Red Hat would like to thank Stéphane Bertin for responsibly disclosing this issue.

Affected Software

1 affected component
Sun Microsystems pam_krb5

Event History

Sep 11, 2008
Data Sourced
via Red Hat·05:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-461960?

The severity of the REDHAT-BUG-461960 is considered moderate due to improper permission checks in the pam_krb5 module.

2

How do I fix REDHAT-BUG-461960?

To fix REDHAT-BUG-461960, ensure you apply the latest patches for the pam_krb5 module as provided by your distribution.

3

What systems are affected by REDHAT-BUG-461960?

REDHAT-BUG-461960 affects systems utilizing the Sun Microsystems pam_krb5 module.

4

What are the potential risks of REDHAT-BUG-461960?

The potential risks of REDHAT-BUG-461960 include unauthorized access to user credentials and credential caches.

5

Can REDHAT-BUG-461960 lead to further vulnerabilities?

Yes, REDHAT-BUG-461960 can potentially lead to further vulnerabilities if proper access control is not enforced.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203