[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 311/04 - Sun Alert ID: 57587 - Kerberos Clients May Cause Passwords to be Logged as Clear Text



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 311/04 dated 21.06.04  Time: 15:35  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Sun Alert ID: 57587 - Kerberos Clients May Cause Passwords to be Logged as Clear Text


Detail
====== 

This issue can occur on a Solaris system configured as a kerberos
client with patch 112908-12 or 115168-03 installed and any service
using pam_krb5 as an "auth" module. With the debug feature of pam_krb5
enabled, password authentication for the user will be logged in clear
text at LOG_DEBUG level.








- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             
       ESB-2004.0426 -- Sun Alert Notification - Sun Alert ID: 57587
      Kerberos Clients May Cause Passwords to be Logged as Clear Text
                               21 June 2004

===========================================================================

        

Product:                pam_krb5
Publisher:              Sun Microsystems
Operating System:       Solaris 9
Platform:               SPARC
                        IA-32
Impact:                 Access Confidential Data
Access Required:        Existing Account

Original Bulletin:
         http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57587

- - --------------------------BEGIN INCLUDED TEXT--------------------

   DOCUMENT ID: 57587
   SYNOPSIS: Solaris 9 Patches 112908-12 and 115168-03 WITHDRAWN, May
   Cause Passwords to be Logged as Clear Text on Kerberos Clients
   DETAIL DESCRIPTION:
   
Sun(sm) Alert Notification

     * Sun Alert ID: 57587
     * Synopsis: Solaris 9 Patches 112908-12 and 115168-03 WITHDRAWN, May
       Cause Passwords to be Logged as Clear Text on Kerberos Clients
     * Category: Security
     * Product: Solaris
     * BugIDs: 5004688
     * Avoidance: Patch, Workaround
     * State: Resolved
     * Date Released: 17-Jun-2004
     * Date Closed: 17-Jun-2004
     * Date Modified:
       
1. Impact

   This issue can occur on a Solaris system configured as a kerberos
   client with patch 112908-12 or 115168-03 installed and any service
   using pam_krb5 as an "auth" module. With the debug feature of pam_krb5
   enabled, password authentication for the user will be logged in clear
   text at LOG_DEBUG level.
   
   Patches 112908-12 and 115168-03 have been WITHDRAWN and are no longer
   available on SunSolve.
   
2. Contributing Factors

   This issue can occur in the following releases:
   
   SPARC Platform
     * Solaris 9 with patch 112908-12 and without patch 112908-13
       
   x86 Platform
     * Solaris 9 with patch 115168-03 and without patch 115168-04
       
   Note: Solaris 7 and 8 are not affected by this issue.
   
   This issue will only occur if ALL of the following are true:
   
   A) The system is configured as a kerberos client, which can be
   determined by either output from the following command:
    $ /usr/bin/klist
    klist: No credentials cache file found while setting cache flags
    (ticket cache /tmp/krb5cc_xxxx)            
    $ /usr/bin/klist
    Ticket cache: /tmp/krb5cc_xxxx
    Default principal: jon.doe@xxxxxxx
    ...            

   Note: In the output "Ticket cache: /tmp/krb5cc_xxxx", xxxx is the uid
   of the user running klist(1).
   
   B) A service is using pam_krb5 as an "auth" module and the debug
   feature of pam_krb5 is enabled, which can be determined by any
   matching lines returned from the following command:
    $ egrep -e '[\\t ]*[^#].*pam_krb5.*debug' /etc/pam.conf                   

   C) Logging of LOG_DEBUG level messages is enabled, which can be
   determined by any matching lines returned from the following command:
    $ egrep -e '\*.debug|daemon.debug' /etc/syslog.conf                  

3. Symptoms

   Messages are logged at LOG_DEBUG level in the following format:
    Feb 21 14:56:11 raptor dtlogin[14263]: [ID 151277 user.debug] PAM-KRB5(auth
): 
    user ams8, pass xxxxx                  

   SOLUTION SUMMARY:
   
4. Relief/Workaround

   To work around the described issue, do one of the following:
   
   A) Back out patch 112908-12 (SPARC platform) or 115168-03 (x86
   platform)
   
   OR
   
   B) Disable the debug feature of pam_krb5. Search for any matching
   lines using the following command, and remove the "debug" entry from
   that line in the "/etc/pam.conf" (see pam.conf(4)) file:
    $ egrep -e '[\\t ]*[^#].*pam_krb5.*debug' /etc/pam.conf                  

   OR
   
   C) Disable logging of LOG_DEBUG level messages, which can be achieved
   by the following steps:
   
   1. Remove or comment out entries in the "etc/syslog.conf" (see
   syslog.conf(4)) file that match output from the following command:
    $ egrep -e '\*.debug|daemon.debug' /etc/syslog.conf            

   2. Send a SIGHUP to syslogd:
    $ pkill -HUP syslog
            

5. Resolution

   This issue is addressed in the following releases:
   
   SPARC Platform
     * Solaris 9 with patch 112908-13 or later
       
   x86 Platform
     * Solaris 9 with patch 115168-04 or later
       
   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.
   
   Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.

- - --------------------------END INCLUDED TEXT--------------------


iQCVAwUBQNZisyh9+71yA2DNAQIZFgP/b1KYhYU5xU6FTOSub0xg3LpKmPUbOmHS
P9UdnNRpe4M2o545oS1UAStF12rXe7EDkGzPNojDLCRdgoi9aU8nmjU/uNsbHzoM
41ONf6ytkfRhM6nHLG5H4PLlPiQX9I8LELWIZ5ko7h7vbku4SGs1iFP1QCgPdXD9
4nPVofMuU0s=
=/AHJ
- -----END PGP SIGNATURE-----
- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Sun Microsystems for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQNbwbopao72zK539AQFLNwP+LYTvBAO7UGBBWs4+KHdLb1+Qw9EsOP1C
DvboYK9pVvxNQ9986BkXbJcopIH56eEqvzEQuJsVuQzUjYJHyC1nCJIV5eRx/M+v
+juvmti9pFV4540npEKBMN6B18vZlodNxF6XyynwIgnI3X8s+o5P1MjSu3gaD2Qe
lyzS3tlnuGs=
=L7W/
-----END PGP SIGNATURE-----