__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Solaris 9 Patches [Sun Alert ID: 57587] July 6, 2004 18:00 GMT Number O-172 [REVISED 05 Oct 2004] ______________________________________________________________________________ PROBLEM: With the debug feature of pam_krb5 enabled, may cause password authentication for the user will be logged in clear text at LOG_DEBUG level. PLATFORM: SPARC Solaris 9 with patch 112908-12 and without patch 112908-13. x86 Solaris 9 with patch 115168-03 and without patch 115168-04. (**NOTE--Solaris 7 and 8 are not affected by this issue.**) DAMAGE: May cause passwords to be logged as clear text on Kerberos Clients. SOLUTION: Upgrade to the appropriate patch. ______________________________________________________________________________ VULNERABILITY The risk is LOW. The administrator who sets DEBUG would have to ASSESSMENT: be a privileged user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-172.shtml ORIGINAL BULLEIN: Sun Alert ID: 57587 http://au.sunsolve.sun.com/search/document.do?assetkey= 1-26-57587-1 ______________________________________________________________________________ REVISION HISTORY: 10/05/2004 - updated Sun Alert ID: 57587 to reflect changes to Resolution section for SPARC platform patch. [***** Start Sun Alert ID: 57587 *****] 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@FOO.BAR ... 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 Top 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-16 or later x86 Platform Solaris 9 with patch 115168-04 or later Note: Although this issue is shown to be resolved in patch release 112908-13 (see patch README), that patch revision has been obsoleted is no longer available for download. Please use 112908-16 or later. Change History 04-Oct-2004: Note added to Resolution section for patch 112908-16 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 Sun Alert ID: 57587 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) O-162: Red Hat Updated Tripwire Packages Fix Security Flaw O-163: Cisco IOS Malformed BGP Packet Causes Reload O-164: Red Hat Updated Kernel Packages Fix Security Vulnerabilities O-165: Red Hat Updated libpng Packages Fix Security Issue O-166: Sun StorEdge Enterprise Storage Manager (ESM) 2.1 Vulnerability O-167: SGI - System Call SGI_IOPROBE Vulnerability O-168: Squid - NTLM Authentication Buffer Overflow Vulnerability O-169: Apache Buffer Overflow Vulnerability O-170: HP-UX Netscape Vulnerabilities O-171: Hewlett Packard OpenSSL Potential Vulnerabilities