Patch-ID# 115168-13

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: security encryption international pam_krb5 krbv5 pam_krb5 kerberos
Synopsis: SunOS 5.9_x86: krb5, gss patch
Date: Aug/31/2006


Install Requirements: Reboot immediately after patch is installed                      
                      Install in Single User Mode                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 112908

Topic: SunOS 5.9_x86: krb5, gss patch

Relevant Architectures: i386

BugId's fixed with this patch: 4406914 4430138 4452339 4516537 4526202 4614979 4621219 4630574 4635546 4680230 4707788 4708846 4709475 4710108 4710111 4711335 4711993 4713097 4713592 4714596 4719654 4720595 4727224 4733532 4740969 4743181 4744280 4750989 4759759 4770661 4777436 4784872 4786126 4794436 4799122 4807010 4811575 4816590 4828467 4830044 4836676 4837140 4837278 4841013 4841566 4846024 4847827 4851952 4857179 4860226 4862449 4865664 4881066 4882946 4924554 4925472 4925970 4926391 4926624 4928964 4957406 4964839 4966521 4967674 4967945 4969306 4971630 4971810 4975057 4976155 4976745 4977574 4982991 4990122 4995543 5002100 5004688 5005870 5006690 5006695 5006762 5012765 5013640 5014180 5014600 5014946 5014951 5014969 5019044 5020325 5021347 5022903 5023074 5025296 5031562 5036242 5048596 5049660 5054240 5054835 5055875 5058293 5060425 5060618 5062508 5063375 5063407 5066767 5076804 5082282 5083048 5083197 5088670 5090324 5094142 5094528 5096445 5109147 5109225 5109404 5109487 5109496 6176256 6181680 6182695 6185726 6203833 6208638 6246405 6247126 6261685 6284864

Changes incorporated in this version: 6246405

Patches accumulated and obsoleted by this patch: 113990-05

Patches which conflict with this patch: 

Patches required with this patch: 114263-05 (or greater)

Obsoleted by: 

Files included with this patch: 

/kernel/misc/kgss/gl_kmech_krb5
/usr/lib/gss/gl/abi/abi_mech_krb5.so.1
/usr/lib/gss/gl/mech_krb5.so.1
/usr/lib/security/pam_krb5.so.1
/usr/lib/security/pam_krb5_migrate.so
/usr/lib/security/pam_krb5_migrate.so.1

Problem Description:

6246405 On Solaris 9 (no Sol 10) PAM stack prompts for password twice with pam_unix & pam_krb5
 
(from 115168-12)
 
4967945 krb5_free_authdata() not freeing correctly
4925472 free funcs in kfree.c should set pointers to NULL
 
(from 115168-11)
 
6176256 S9 ssh backporting project
4406914 Support draft-ietf-secsh-dh-group-exchange-01.txt
4452339 key_fingerprint needs to support md5/sha/bubblebabble output
4614979 ssh connections break after the rekey interval elapses on
4621219 sftp prints incorrect error message if connection refused
4635546 superfluous IP options check in ssh should be removed
4680230 usr/src/cmd/ssh/ssh Makefile needs to have lib dependencies
4707788 implement ClientAlive on the server side
4708846 vis in libopenbsd-compat has I18N problem.
4709475 ssh and ssh-keygen: not extracted messages for localization
4710108 sshd: locale environments are not passed to shells.
4710111 ssh-agent: strings 'echo' should not be extracted for localization.
4711335 sshd V1 authentication behaves poorly for invalid users
4713097 sftp: word 'abormally' should be 'abnormally'
4713592 ssh & friends print incorrect error message if server breaks connection at login
4714596 Request for filename option in sftp commandline
4719654 ssh: localized messages should be extracted per a sentence.
4720595 ssh-keygen does not finish with dsa key
4733532 scp leaves connection open
4740969 cli_write() in libssh.a has a memory leak
4750989 expired passwords not working with KbdInteractiveAuthentication yes
4759759 ssh(1) doesn't terminate proxy commands on exit
4777436 ssh client should ignore signals which are already ignored
4784872 locales !=  RFC-1766 language tags
4799122 ssh doesn't use getopt(3c) (concatenated options don't work)
4811575 ssh-keygen list fails on long public key entries (base64 encoding > 1024b)
4816590 SSH in Solaris 9 doesn't forward the X11 session from 3-party software
4828467 sftp client sends directory path that causes windows interop problems
4837140 SSHD sets bogus fixed path and ignores /etc/default/login
4841566 ksh limits ssh/Xauth using -X option with uid's 99 or less
4857179 SSH and Password expiry do not work.
4862449 SUNWssh needs a resync
4924554 Resynced SSH cores after connect from Solaris 9 client with mixed locale setting
4925970 sshd logging extra warning messages on console
4926391 fatal_remove_cleanup() should not fatal()
4926624 ssh exits with -1 if stdin is not a terminal
4928964 sshd breaks finger
4964839 SUNWsshdr needs to remove CheckMail from sshd_config
4966521 sshd core dumps/drops connection if server has many locales
4967674 sshd sets LC_ALL and LANG to strange values
4969306 sshd dumps core on root login
4971630 ssh attempts to do exit(-1) arbitrarily when not using ptys
4971810 fix for 4406914 is incomplete - /etc/ssh/moduli is missing
4975057 ssh got smarter about proxy commands, but not enough: always prepends "exec "
4976155 ssh of s10_50 crashes with SEGV when connecting to Sun_SSH_1.1 (in iso_8859_1)
4976745 sshd has a small malloc problem.
4977574 sshd dumps core when some clients connect
4982991 Please enter user name: prompt doesn't go away quickly enough.
4990122 sshd has a(nother) malloc problem.
5002100 ssh displays wrong (useless) 'Last login' date and time
5005870 sshd setsockopt SO_KEEPALIVE Invalid argument error
5006690 sshd does not pass PAM environment variables to its children
5006695 SUNWssh should support GSS-API extensions to SSHv2 (PSARC 2003/778)
5006762 sshd(1M) does not support optimistic key exchange (SSHv2)
5012765 sshd(1M) should do something about privileges (PSARC 2004/677)
5013640 sshd core dumps while trying to log messages, take 2
5014180 SSH should keep /dev/random open
5014600 ssh-add cores if the agent socket could not be opened
5014969 default X11Forwarding to yes in sshd_config (PSARC 2004/011)
5019044 sshd(1M) lets libgss spew on stderr on startup about unconfigured mechs
5020325 sftp: 'get *' coredumps
5021347 ssh commands link with -ldl, shouldn't (-z ignore masked this)
5022903 ssh(1) should support send-break extension
5023074 SUNWsshdr: /etc/ssh is not a valid temp directory during install
5025296 sshd should use closefrom() instead of a 3-to-64 close() loop
5036242 sshd(1M) should workaround KEXGSS_HOSTKEY bug in MacOS ssh(1) w/ GSS
5048596 ssh(1) hostbased authentication should try all client host keys, not just 1st
5049660 locale problems with ssh
5054240 ssh should be more descriptive when GSS key exchange fails
5054835 sshd GSS error logic needs a little work
5058293 ssh packages do not declare dependency on GSS-API
5060425 ssh backspace not working
5060618 ssh-keysign needs to utilize privileges
5062508 GSS option names should match OpenSSH's (PSARC/2004/461)
5063375 sshd(1M) PAM svc change after pam_start() ineffective
5066767 sshd dumps core in finish_userauth_do_pam()
5076804 sshd(1M) logs successful login messages to auth.notice (and thence the console)
5082282 sshd core dumps printing usage message
5083048 Accepted yes/no strings itself should be displayed
5083197 another coredump in finish_userauth_do_pam()
5088670 rfe 5062528 breaks ssh-agent (missing privileges)
5090324 session id confusion with ssh & su
5094142 sshd calls pam_chauthtok() as root, skips pw quality checks
5094528 ssh(1) core dumps in gssapi userauth
5109225 version string missing from sshd's usage message
5109404 missing whitespace in some ssh messages
5109487 language negotiation is not useful after initial key exchange
5109496 packet_set_connection() should be more careful
6181680 sshd doesn't log logouts in utmpx
6182695 sshd debug mode deadlock potential
6185726 MaxStartups now counts all concurrent sessions
5014946 add support to libgss for gss_store_cred() (PSARC 2003/779) (phase 1)
5014951 mech_krb5 needs a krb5_gss_store_cred() (PSARC 2003/779)
6247126 krb5_verify_init_creds returns ERR if def keytab is missing, even though 
        verify_ap_req_nofail=false
 
(from 115168-10)
 
6203833 GSSAPI needs method to acquire initial creds with a password
6208638 krb5_gss_release_cred() can leak
 
(from 115168-09)
 
4957406 nfs on kerberized file systems thinks I'm nobody
4860226 Fix for 4786126 is not complete
4786126 delegated credentials not provided to the caller of gss_accept_sec_context
 
(from 115168-08)
 
4851952 krb5_os_localaddr() doesn't work correctly when multiple interfaces configured
6261685 Security: buffer overflow, heap corruption in KDC
6284864 krb5_recvauth() may free memory twice under certain conditions
 
(from 115168-07)
 
5096445 Kerberos mech should renew expired svc tickets if presented with a valid tgt
5109147 krb5 nfs fails cause of stale xrealm tgt
4770661 no support for GSS_C_NO_CREDENTIAL in gss_accept_sec_context() krb5 mech
 
(from 115168-06)
 
5031562 rlogin -x fails after kerberos patch install
 
(from 115168-05)
 
4807010 Crash in the gssapi module
4837278 Kerberos utilities should include automigrate capability
5055875 buffer overflow in (undocumented) auth_to_local rules
4865664 gssapi/krb5 may hang with corrupted data
5063407 memory corruption between decode_krb5_ap_req() and krb5_gss_accept_sec_context()
 
(from 115168-04)
 
4995543 pam_krb5.so.1 from 112908-12 causes SEGV when using *su* or dtsession lock
5004688 Kerberos patch 112908-12 causes user passwords to be logged in clear text
 
(from 115168-03)
 
4794436 strict TGT verification in pam_krb5 should be configurable
4430138 pam_krb5 has wrong return codes for some service module function
4516537 pam_krb5 does not conform to the PAM standards set forth in pam(3PAM)
4711993 mech_krb5: memory caching MUST be enabled in kerberos mech
4841013 krb5 memory cache code should use mktemp instead of mkstemp
4846024 krb5 err msg: login: /tmp/krb5cc_35224 owned by 35224 instead of 0
4881066 pam_krb5 setcred function causes BUS error due to incorrectly freed memory
 
(from 115168-02)
 
4836676 Bounds checks not in place for princs in krbv5
 
(from 115168-01)
 
4830044 pam_krb5 needs to be repository aware
 
(from 113990-05)
 
4882946 GSS_C_NO_BUFFER: gss_init_sec_context gives an Error code
 
(from 113990-04)
 
4836676 Bounds checks not in place for princs in krbv5
 
(from 113990-03)
 
4847827 Kerberos patch 112908-07 Error verifying TGT with host, Bad encryption type
 
(from 113990-02)
 
4630574 pam_krb5 should not reimplement utility functions and use libpam utilities
4743181 gss/kerberos frees a buffer returned to caller
 
(from 113990-01)
 
4526202 pam_krb5 auth can fail with multiple ftp sessions of same user
4727224 user application hangs at rpc_gss_seccreate()
4744280 gss_display_status() always returning error

Patch Installation Instructions:
--------------------------------
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
NOTE 1:  Reboot the system after patch installation.
 
NOTE 2:  To get the complete fix of bug 4836676 "Bounds checks not
         in place for princs in krbv5" install the following patches:
 
         116044-01 (or greater)  kdb5_util patch
         116045-01 (or greater)  krb5kdc patch
         116046-02 (or greater)  libkadm5srv.so.1 patch
 
NOTE 3:  To get the complete fix of bug 4837278 (Kerberos utilities
         should include automigrate capability), please also install
         the following patches:
 
         116044-02 (or greater)  kdb5_util patch
         116046-04 (or greater)  libkadm5srv.so.1 patch
 
NOTE 4:  To get the complete fix for bugids,
 
         6203833 GSSAPI needs  method to acquire initial creds with passwd
         6208638 krb5_gss_release_cred() can leak
 
         please also install the following patch:
 
         114263-04 (or greater)  libgss Patch
 
NOTE 5:  To get the complete fix for ALL the bugs for the rev -11
         of this patch, please also install the following patches:
 
         117178-02 (or greater)  lib/gss module patch
         114357-07 (or greater)  /usr/bin/ssh patch
         114858-09 (or greater)  /usr/lib/ssh/sshd patch

README -- Last modified date:  Thursday, August 31, 2006

