what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

57587.html

57587.html
Posted Jun 25, 2004
Site sunsolve.sun.com

A flaw in Kerberos password handling under Sun Solaris 9 allows for passwords to be logged in clear text on clients with services using pam_krb5 as an auth module.

tags | advisory
systems | solaris
SHA-256 | 3e8f112307c599098b445c863693bd8fada2f48c9458a8350f1589bcb01e67a7

57587.html

Change Mirror Download
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tbody><tr bgcolor="#666699"><td><font size="2" color="#ffffff"><b>document id</b></font></td>
<td bgcolor="#ffffff"><font size="2"> </font></td>
<td><font size="2" color="#ffffff"><b>Synopsis</b></font></td>
<td bgcolor="#ffffff"><font size="2"> </font></td>
<td><font size="2" color="#ffffff"><b>Date</b></font></td>
</tr>
<tr bgcolor="#cccce7"><td><font size="2"><b>57587</b></font></td>
<td bgcolor="#ffffff"><font size="2"> </font></td>
<td><font size="2"><b>Solaris 9 Patches <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> and <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a> WITHDRAWN, May Cause Passwords to be Logged as Clear Text on Kerberos Clients</b></font></td>
<td bgcolor="#ffffff"><font size="2"> </font></td>
<td><font size="2"><b>17 Jun 2004</b></font></td>
</tr>
</tbody></table><br clear="">
<table width="100%" cellpadding="2" cellspacing="0" border="0"><tbody><tr bgcolor="#999999">
<td><font size="2" color="#ffffff"><b><a name="Description">Description</a></b></font></td>
<td align="right"><b><a href="#top"><font size="2" color="#ffffff">Top</font></a></b></td></tr></tbody></table>
<font size="2"><h2>
Sun(sm) Alert Notification
</h2><ul>
<li>
Sun Alert ID: 57587
</li>
<li>
Synopsis: Solaris 9 Patches <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> and <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a> WITHDRAWN, May Cause Passwords to be Logged as Clear Text on Kerberos Clients
</li>
<li>
Category: Security
</li>
<li>
Product: Solaris
</li>
<li>
BugIDs: 5004688
</li>
<li>
Avoidance: Patch, Workaround
</li>
<li>
State: Resolved
</li>
<li>
Date Released: 17-Jun-2004
</li>
<li>
Date Closed: 17-Jun-2004
</li>
<li>
Date Modified:
</li>
</ul><h2>
1. Impact
</h2><p>
This issue can occur on a Solaris system configured as a kerberos client with patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> or <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a>
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. </p><p>
Patches <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> and <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a> have been WITHDRAWN and are no longer available on SunSolve.
</p><h2>
2. Contributing Factors
</h2><p>
This issue can occur in the following releases:
</p><p>
<b>SPARC Platform</b>
</p><ul>
<li>
Solaris 9 with patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> and without patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=13">112908-13</a>
</li>
</ul><p>
<b>x86 Platform</b>
</p><ul>
<li>
Solaris 9 with patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a> and without patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=04">115168-04</a>
</li>
</ul><p>
<b>Note:</b> Solaris 7 and 8 are not affected by this issue.
</p><p>
This issue will only occur if ALL of the following are true:
</p><p>
A) The system is configured as a kerberos client, which can be determined by either output from the following command:
</p><pre> $ <b>/usr/bin/klist</b>
klist: No credentials cache file found while setting cache flags
(ticket cache /tmp/krb5cc_xxxx) </pre><pre> $ <b>/usr/bin/klist</b>
Ticket cache: /tmp/krb5cc_xxxx
Default principal: jon.doe@FOO.BAR
... </pre><p>
<b>Note:</b> In the output "Ticket cache: /tmp/krb5cc_xxxx", xxxx is the uid of the user running klist(1).
</p><p>
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: </p><pre> $ <b>egrep -e '[\\t ]*[^#].*pam_krb5.*debug' /etc/pam.conf </b> </pre><p>
C) Logging of LOG_DEBUG level messages is enabled, which can be
determined by any matching lines returned from the following command: </p><pre> $ <b>egrep -e '\*.debug|daemon.debug' /etc/syslog.conf</b> </pre><h2>
3. Symptoms
</h2><p>
Messages are logged at LOG_DEBUG level in the following format:
</p><pre> Feb 21 14:56:11 raptor dtlogin[14263]: [ID 151277 user.debug] PAM-KRB5(auth):
user ams8, pass xxxxx </pre></font><table width="100%" cellpadding="2" cellspacing="0" border="0"><tbody><tr bgcolor="#999999">
<td><font size="2" color="#ffffff"><b><a name="Solution-Summary">Solution Summary</a></b></font></td>
<td align="right"><b><a href="#top"><font size="2" color="#ffffff">Top</font></a></b></td></tr></tbody></table>
<font size="2"><h2>
4. Relief/Workaround
</h2><p>
To work around the described issue, do one of the following:
</p><p>
A) Back out patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=12">112908-12</a> (SPARC platform) or <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=03">115168-03</a> (x86 platform)
</p><p>
OR
</p><p>
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: </p><pre> $ <b>egrep -e '[\\t ]*[^#].*pam_krb5.*debug' /etc/pam.conf</b> </pre><p>
OR
</p><p>
C) Disable logging of LOG_DEBUG level messages, which can be achieved by the following steps:
</p><p>
1. Remove or comment out entries in the "etc/syslog.conf" (see
syslog.conf(4)) file that match output from the following command: </p><pre> $ <b>egrep -e '\*.debug|daemon.debug' /etc/syslog.conf</b> </pre><p>
2. Send a SIGHUP to syslogd:
</p><pre> $ <b>pkill -HUP syslog</b>
</pre><h2>
5. Resolution
</h2><p>
This issue is addressed in the following releases:
</p><p>
<b>SPARC Platform</b>
</p><ul>
<li>
Solaris 9 with patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112908&rev=13">112908-13</a> or later
</li>
</ul><p>
<b>x86 Platform</b>
</p><ul>
<li>
Solaris 9 with patch <a href="http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=115168&rev=04">115168-04</a> or later
</li>
</ul><p>
<i>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.</i>
</p><p>
<i>Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.</i>
</p><hr><hr></font><table width="100%" cellpadding="2" cellspacing="0" border="0">
<tbody><tr><td bgcolor="#999999" valign="top" width="25%"><font color="#ffffff" size="2"><b><a name="Applies-To">Applies To</a></b></font></td>
<td bgcolor="#cccccc" valign="top" width="75%"><font size="2">(none)</font></td></tr>
<tr><td bgcolor="#999999" valign="top" width="25%"><font color="#ffffff" size="2"><b><a name="Attachments">Attachments</a></b></font></td>
<td bgcolor="#cccccc" valign="top" width="75%"><font size="2">(none)</font></td></tr>
</tbody></table><br clear="">
<font size="2"><a href="#top">Top</a></font><br><br>
<!-- BEGIN FOOTER_PUB.FRAG -->

<!-- END CENTER COLUMN COMPONENTS -->
</td></tr>
<!-- BEGIN SPACER ROW -->
<tr><td><img src="57587_files/a.gif" width="145" height="1" border="0" alt=""></td><td><img src="57587_files/a.gif" width="390" height="1" border="0" alt=""></td></tr>
<!-- END SPACER ROW -->
</tbody></table>
<!-- END WRAPPER TABLE, 2 COLUMN, LEFT/MAIN -->
<!-- BEGIN GLOBAL FOOTER -->
<table border="0" cellpadding="0" cellspacing="10" width="100%">
<tbody><tr><td class="grey1"><span class="sp5"> </span></td></tr>
</tbody></table>

<div class="sitelinks" align="center">
<a href="http://sunsolve.sun.com/pub-cgi/feedback.pl">SunSolve Feedback</a>
  |  
<a href="http://www.sun.com/company/">Company Info</a>
  |  
<a href="http://www.sun.com/contact/">Contact</a>
  |  
<a href="http://www.sun.com/share/text/termsofuse.html">Terms of Use</a>
  |  
<a href="http://www.sun.com/privacy/">Privacy</a>
  |  
Copyright 1994-2004 Sun Microsystems
<br>
 
</div>
<!-- END GLOBAL FOOTER -->

<!-- END FOOTER_PUB.FRAG --></body></html>
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close