exploit the possibilities
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:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 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