[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 578/04 - Sun Alert Notification 57657 - Security Vulnerability When Using LDAP In Conjunction With RBAC



 
-----BEGIN PGP SIGNED MESSAGE-----

- - ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 578/04 dated 20.10.04  Time: 14:55
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- - ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- - ----------------------------------------------------------------------------------

Title
=====

Sun Alert Notification 57657 - Security Vulnerability When Using LDAP In Conjunction With RBAC

Detail
====== 

Product:                LDAP with Role Based Access Control
Publisher:              Sun Microsystems
Operating System:       Solaris 9
                        Solaris 8
Impact:                 Root Compromise
Access:                 Existing Account

- - - --------------------------BEGIN INCLUDED TEXT--------------------

Sun(sm) Alert Notification

     * Sun Alert ID: 57657
     * Synopsis: Security Vulnerability When Using LDAP In Conjunction
       With RBAC
     * Category: Security
     * Product: Solaris
     * BugIDs: 4966423
     * Avoidance: Patch, Workaround
     * State: Resolved
     * Date Released: 18-Oct-2004
     * Date Closed: 18-Oct-2004
     * Date Modified:

1. Impact

   On systems where Lightweight Directory Access Protocol (LDAP, see
   ldap(1)) is used in conjunction with Role Based Access Control (RBAC,
   see rbac(5)), unprivileged local users may have the ability to execute
   certain commands with "superuser" (root) privileges.

2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform

     * Solaris 8 without patch [2]108993-38
     * Solaris 9 without patch [3]112960-17

   x86 Platform

     * Solaris 8 without patch [4]108994-38
     * Solaris 9 without patch [5]114328-04

   Notes:

    1. Systems are only impacted when using LDAP in conjunction with RBAC
       .
    2. Solaris 7 is not affected by this issue.

   This configuration can be determined by the RBAC related entries in
   the "/etc/nsswitch.conf" file, which will contain lines with one or
   more of the following type of entries:

    auth_attr: ldap files
    prof_attr: ldap files
    user_attr: ldap files

3. Symptoms

   There are no predictable symptoms that would indicate the described
   issue has been exploited.

   Solution Summary [6]Top

4. Relief/Workaround

   To work around the described issue, configure the system to use
   "local" files instead of LDAP for RBAC configuration. RBAC related
   entries in the "/etc/nsswitch.conf" file should be modified as
   follows:

    auth_attr: files
    prof_attr: files
    user_attr: files

   Note: With this workaround, LDAP functionality will be disabled for
   the RBAC database and all RBAC related data will be queried from
   "local" files instead of through LDAP.

5. Resolution

   This issue is addressed in the following releases:

   SPARC Platform

     * Solaris 8 with patch [7]108993-38 or later
     * Solaris 9 with patch [8]112960-17 or later

   x86 Platform

     * Solaris 8 with patch [9]108994-38 or later
     * Solaris 9 with patch [10]114328-04 or later

   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.

References

   1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57657-1#top
   2. http://sunsolve.sun.com/search/document.do?assetkey=1-21-108993-38-1
   3. http://sunsolve.sun.com/search/document.do?assetkey=1-21-112960-17-1
   4. http://sunsolve.sun.com/search/document.do?assetkey=1-21-108994-38-1
   5. http://sunsolve.sun.com/search/document.do?assetkey=1-21-114328-04-1
   6. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57657-1#top
   7. http://sunsolve.sun.com/search/document.do?assetkey=1-21-108993-38-1
   8. http://sunsolve.sun.com/search/document.do?assetkey=1-21-112960-17-1
   9. http://sunsolve.sun.com/search/document.do?assetkey=1-21-108994-38-1
  10. http://sunsolve.sun.com/search/document.do?assetkey=1-21-114328-04-1

- - - --------------------------END INCLUDED TEXT--------------------
- - ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 870 487 0748 Ext 4511
Fax: +44 (0) 870 487 0749

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 870 487 0748 and follow the prompts

- - ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Sun Microsystems for the information 
contained in this Briefing. 
- - ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- - ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQXZuEopao72zK539AQEiOAP+M9aTKR9vELfpvp1GfkCBnquuq4zUTuxv
9OMoxa6JJXIdidI3sscJcUaVgJL8h0w5QLGSqJy28vZ2mBk7s6hZYJNZ+cgfpwlm
F/39pohZM0TmO0AjTqtI9nquzwQPMjRgpAxpwasRbpfHcfJ8f4FBkD7M3saKdyQ/
rdVje0TjIOg=
=+RTg
-----END PGP SIGNATURE-----