Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2008.1152 -- [Solaris] A Security Vulnerability in the Solaris Name Service Cache Daemon (nscd(1M)) May Allow Unauthorized Access to Data and Escalation of Privileges 24 December 2008 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: nscd Publisher: Sun Microsystems Operating System: Solaris OpenSolaris Impact: Increased Privileges Access Privileged Data Access: Existing Account CVE Names: CVE-2008-5699 Original Bulletin: http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-242006-1 Revision History: December 24 2008: Added CVE December 22 2008: Initial Release - --------------------------BEGIN INCLUDED TEXT-------------------- Solution Type: Sun Alert Solution 242006 : A Security Vulnerability in the Solaris Name Service Cache Daemon (nscd(1M)) May Allow Unauthorized Access to Data and Escalation of Privileges Bug ID: 6740382 Product Solaris 10 Operating System OpenSolaris Date of Resolved Release: 18-Dec-2008 A Security Vulnerability in the Solaris Name Service Cache Daemon (nscd(1M)) May Allow Unauthorized Access to Data and Escalation of Privileges 1. Impact A security vulnerability in the Solaris name service cache daemon (nscd(1M)) may, under certain conditions, allow local unprivileged users to gain access to unauthorized information and gain elevated privileges. Sun acknowledges with thanks, Mike Gerdts for bringing this issue to our attention. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform: * Solaris 10 Update 4 (8/07) without patch 138263-03 * OpenSolaris based upon builds snv_50 through snv_104 x86 Platform: * Solaris 10 Update 4 (8/07) without patch 138264-03 * OpenSolaris based upon builds snv_50 through snv_104 Notes: 1. Solaris 8, Solaris 9 and Solaris 10 releases prior to Solaris 10 Update 4 (8/07) are not impacted by this issue. 2. OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived. The base build can be derived as follows: $ uname -a SunOS phys-node-1 5.11 snv_86 i86pc i386 i86pc 3. This issue occurs only when nscd(1M) is running and the 'compat' mode is configured for the 'passwd' entry in nsswitch.conf(4). The following command may be run to check if the nscd(1M) process is running: $ svcs svc:/system/name-service-cache STATE STIME FMRI online Aug_05 svc:/system/name-service-cache:default "online" indicates nscd is running. STATE STIME FMRI disabled 12:34:55 svc:/system/name-service-cache:default "disabled" indicates nscd is not running. The following command may be run to check if the 'compat' mode has been configured for the passwd(1) entry in nsswitch.conf(4): $ grep passwd: /etc/nsswitch.conf passwd: compat if the 'compat' mode has been configured for the passwd(1) entry. 3. Symptoms There are no predictable symptoms to indicate this issue has been exploited to gain access to unauthorized data or gain elevated privileges. 4. Workaround It is possible to work around the described issue with one of the following options: A) Disable the nscd(1M) daemon. This may be done by executing the following command as the 'root' user: # svcadm disable svc:/system/name-service-cache Disabling nscd(1M) may slow responses to name services requests on the affected host. B) Remove the 'compat' entry for 'passwd' in the file /etc/nsswitch.conf C) If the entry for 'passwd_compat' in /etc/nsswitch.conf is either 'nis' or 'ldap', modify the entry for 'passwd' in the same file as follows: passwd: nisplus compat If the entry for 'passwd_compat' in /etc/nsswitch.conf is 'nisplus', modify the entry for 'passwd' in the same file as follows: passwd: yyyyyy compat where 'yyyyyy' is indeed the string 'yyyyyy' or any string that would not match a existing source. 5. Resolution This issue is addressed in the following releases: SPARC Platform: * Solaris 10 Update 4 (8/07) with patch 138263-03 or later * OpenSolaris based upon build snv_105 or later x86 Platform: * Solaris 10 Update 4 (8/07) with patch 138264-03 or later * OpenSolaris based upon build snv_105 or later For more information on Security Sun Alerts, see Technical Instruction ID 213557. 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-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/render.html?cid=1980 If you believe that your computer system has been compromised or attacked in any way, we encourage you to let us know by completing the secure National IT Incident Reporting Form at: http://www.auscert.org.au/render.html?it=3192 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQCVAwUBSVFtXCh9+71yA2DNAQK34wP9GRDVbylWl43Xu17JKyQSkrijkGYbiC0h kKsNxIgqYM+e65PJ6sG6O1e27N5PDn26kQQ37ZSL44NBg+f3qlGswLNSS38H7I/g Ty06/cocRNeLv96aK6OoGVmoL3cHYKN6ByLq1VWvbxNudThRQSTSxOt1E/Ykd1sR 1rmnyOXhyCw= =JWyX -----END PGP SIGNATURE-----