__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Basic Security Module Auditing Functionality Vulnerability [Sun Alert ID: 57478] March 12, 2004 21:00 GMT Number O-099 [REVISED 21 Apr 2004] [REVISED 18 May 2004] [REVISED 12 Jan 2006] ______________________________________________________________________________ PROBLEM: Solaris 9 systems with Basic Security Module (BSM) enabled (see bsmconv(1M)) and either patch 114332-08 for SPARC, or 114929-06 for x86 installed will not have BSM/auditing functionality present after the system is rebooted. Original patches were withdrawn, and new patches are now available. PLATFORM: Solaris 9 x86 DAMAGE: BSM/auditing functionality could be disabled, therefore potentially desired auditing may not be captured. SOLUTION: Apply the available patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. The BSM Auditing Functionality on BSM ASSESSMENT: Enabled Systems is disabled, but no further damage. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-099.shtml ORIGINAL BULLETIN: Sun Alert ID: 57478 http://www.sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert %2F57478&zone_32=category%3Asecurity ADDITIONAL LINKS: http://sunsolve.sun.com/search/document.do?assetkey=1-26- 102066-1&searchclause=security ______________________________________________________________________________ REVISION HISTORY 4/21/04 - Sun added the x86 platform as being vulnerable. They also now have T-patches available for Solaris 9. 5/18/04 - Sun changed the SPARC Platform Contributing Factors and Resolution sections. An additional note was added. 1/12/06 - added a link to Sun Alert ID: 102066 [***** Start Sun Alert ID: 57478 *****] Sun(sm) Alert Notification Sun Alert ID: 57478 Synopsis: Solaris 9 patches 114332-08 and 114929-06 are WITHDRAWN - Patches Disable the Auditing Functionality on Basic Security Module (BSM) Enabled Systems Category: Security Product: Solaris BugIDs: 4975802 Avoidance: Patch, Workaround State: Resolved Date Released: 22-Jan-2004 Date Closed: 21-Apr-2004 Date Modified: 20-Apr-2004, 21-Apr-2004 1. Impact Solaris 9 systems with Basic Security Module (BSM) enabled (see bsmconv(1M)) and either patch 114332-08 for SPARC or 114929-06 for x86 installed will not have BSM/auditing functionality present after the system is rebooted. Solaris 9 patches 114332-08 and 114929-06 are WITHDRAWN and are no longer available on SunSolve. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform Solaris 9 with patch 114332-08 and without patch 114332-10* x86 Platform Solaris 9 with patch 114929-06 and without patch 112234-12 Notes: Solaris 2.6 will not be evaluated regarding the potential impact of the issue described in this Sun Alert. Solaris 7 and 8 are not affected by this issue. This issue only affects systems which have BSM (see bsmconv(1M)) enabled. *Patch 114332-09 has been incorporated into 114332-10 (respin). A system has BSM enabled if the following "c2audit" line is present in the "/etc/system" file: $ grep c2audit /etc/system set c2audit:audit_load = 1 3. Symptoms When the system is rebooted the following messages will be displayed on the console during boot: /etc/rc2.d/S99audit: /etc/security/audit_startup: cannot execute Solaris 9 BSM enabled systems which have been rebooted will find that BSM/auditing has not been enabled correctly on the system. The auditconfig(1M) command will report the discrepancy, as in this example: # auditconfig -chkaconf non-attributable event mismatch audit_control(lo) kernel(no) # auditconfig -chkconf AUE_EXIT(1): CLASS MISMATCH: runtime class (no) != configured class (pc) AUE_FORK(2): CLASS MISMATCH: runtime class (no) != configured class (pc) AUE_OPEN(3): CLASS MISMATCH: runtime class (no) != configured class (fa) AUE_CREAT(4): CLASS MISMATCH: runtime class (no) != configured class (fc) AUE_LINK(5): CLASS MISMATCH: runtime class (no) != configured class (fc) ... SOLUTION SUMMARY: 4. Relief/Workaround To work around the described issue, BSM/auditing functionality can be restored by running the following commands executed as the "root" user: # /usr/bin/chmod 0744 /etc/security/audit_startup # /etc/init.d/audit stop # /etc/init.d/audit start This will restore BSM/auditing functionality on BSM enabled systems. 5. Resolution This issue is addressed in the following release: SPARC Platform Solaris 9 with patch 114332-10 or later x86 Platform Solaris 9 with patch 112234-12 or later Change History 20-Apr-2004: Update Contributing Factors and Resolution sections for x86 patch and T-Patch for SPARC 21-Apr-2004: Update Contributing Factors and Resolution sections for SPARC patch release Re-release as Resolved 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. [***** End Sun Alert ID: 57478 *****] _______________________________________________________________________________ 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) O-089: Sun Security Vulnerability in "/usr/lib/print/conv_fix" O-090: Vulnerability in Novell Client Firewall Tray Icon O-091: Adobe Reader 5.1 XFDF Buffer Overflow Vulnerability O-092: WinZip Vulnerable to Buffer Overflow in Handling of MIME Archive Parameters O-093: Oracle9i Database Buffer Overflow Vulnerabilities O-094: Linux mremap(2) System Call Vulnerability O-095: wu-ftp 'chmod' and S/Key Vulnerabilities O-096: Microsoft Outlook Could Allow Unauthorized Code Execution O-097: Red Hat Sysstat Packages contain Vulnerability O-098: NetScreen IVE Vulnerability may lead to Remote Script Execution