__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Security Vulnerability When Using LDAP in Conjunction with RBAC [Sun Alert ID: 57657] October 19, 2004 16:00 GMT Number P-017 ______________________________________________________________________________ PROBLEM: 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. PLATFORM: SPARC Platform Solaris 8 without patch 108993-38 Solaris 9 without patch 112960-17 x86 Platform Solaris 8 without patch 108994-38 Solaris 9 without patch 114328-04 Note: 1. Systems are only impacted when using LDAP in conjunction with RBAC. 2. Solaris 7 is not affected by this issue. DAMAGE: Unprivileged local users may have the ability to execute certain commands with "superuser" (root) privileges. SOLUTION: Upgrade to the appropriate update. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Local can get root privileges. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-017.shtml ORIGINAL BULLETIN: Sun Alert ID: 57657 http://www.sunsolve.sun.com/search/document.do?assetkey= 1-26-57657-1&searchclause= CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= ______________________________________________________________________________ [***** Start Sun Alert ID: 57657 *****] 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 108993-38 * Solaris 9 without patch 112960-17 x86 Platform * Solaris 8 without patch 108994-38 * Solaris 9 without patch 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 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 108993-38 or later * Solaris 9 with patch 112960-17 or later x86 Platform * Solaris 8 with patch 108994-38 or later * Solaris 9 with patch 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. [***** End Sun Alert ID: 57657 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) P-007: Microsoft Windows Shell and Program Group Converter Vulnerabilities P-008: Microsoft Security Update for Microsoft Windows (840987) P-009: Microsoft Excel Vulnerability Could Allow Remote Code Execution P-010: Microsoft Compressed (Zipped) Folders Vulnerability P-011: Microsoft Vulnerability in NetDDE Could Allow Remote Code Execution (841533) P-012: Microsoft Vulnerability in NNTP Could Allow Remote Code Execution (883935) P-013: Macromedia JRun Server Vulnerabilities P-014: CUPS Information Leak P-015: Libtiff Vulnerabilities P-016: Sun FTP Daemon of Heimdal is Vulnerable to Race Conditions