__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Vulnerability in Solaris "AnswerBook2 Documentation" Admin Script [Sun Alert ID: 57400] October 20, 2003 17:00 GMT Number O-011 ______________________________________________________________________________ PROBLEM: A malicious user can access the administration of the AnswerBook2. Note--The AnswerBook2 Documentation Server gives customers the ability to view Sun documentation using their favoriate browser. SOFTWARE: AnswerBook2 Documentation Server Version 1.4.4 or earlier DAMAGE: An unprivileged local or remote users may be able to execute AnswerBook2 (AB2) administrative commands, such as creating new AB2 adminstrator accounts on systems configured as AnswerBook2 servers. SOLUTION: Upgrade to appropriate patch. ______________________________________________________________________________ VULNERABILITY The risk is LOW. A malicious user can access the administration ASSESSMENT: and create new accounts. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-011.shtml ORIGINAL BULLETIN: Sun Alert ID: 57400 http://www.sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert %2F57400&zone_32=category%3Asecurity ______________________________________________________________________________ [***** Start Sun Alert ID: 57400 *****] Sun(sm) Alert Notification Sun Alert ID: 57400 Synopsis: Vulnerability in Solaris "AnswerBook2 Documentation Server" Admin Script Category: Security Product: AnswerBook2 Documentation Server BugIDs: 4859614 Avoidance: Workaround State: Resolved Date Released: 16-Oct-2003 Date Closed: 16-Oct-2003 Date Modified: 1. Impact Unprivileged local or remote users may be able to execute AnswerBook2 (AB2) administrative commands, such as creating new AB2 administrator accounts on systems configured as AnswerBook2 servers. This issue is one of two vulnerabilities discussed in S21sec advisory s21sec-004 at: http://www.s21sec.com/en/avisos/s21sec-004-en.txt The other vulnerability discussed in the S21sec advisory is described in Sun Alert 23412. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * AnswerBook2 Documentation Server versions 1.4.4 or earlier x86 Platform * AnswerBook2 Documentation Server versions 1.4.4 or earlier Note: AnswerBook2 is no longer supported as of Solaris 9, and thus Solaris 9 is not affected. To determine the version of the currently installed AnswerBook2 Server, run the following command: $ grep SUNW_PRODVERS /var/sadm/pkg/SUNWab2[rsu]/pkginfo /var/sadm/pkg/SUNWab2r/pkginfo:SUNW_PRODVERS=1.4.4 /var/sadm/pkg/SUNWab2s/pkginfo:SUNW_PRODVERS=1.4.4 /var/sadm/pkg/SUNWab2u/pkginfo:SUNW_PRODVERS=1.4.4 3. Symptoms The appearance of suspicious (unknown) AnswerBook2 administrator accounts in the file "/usr/lib/ab2/dweb/data/config/admin_passwd" may indicate that the described issue has been exploited to add additional AB2 administrator accounts. Each line in this file starts with the name of an AnswerBook2 administrator account. For example, the lines: ab2admin:AA7Zghd5fFgfF peter:AA65RfgdtzHggdh mary:AAFgdt569Uhgf indicate that there are currently three AnswerBook2 administrator accounts named "ab2admin", "peter" and "mary". There are no predictable symptoms that would show the described issue has been exploited to execute other AnswerBook2 (AB2) administrative commands on a system. Solution Summary Top 4. Relief/Workaround To prevent the unauthorized addition of AB2 administrators, change the permissions of the AB2 "password" file as the root user: # chmod a-w /usr/lib/ab2/dweb/data/config/admin_passwd This will prevent additional AB2 administrators from being added. If additional admins are required, one can add write access to the file temporarily, add the admin, remove write access once again - then check the file to make sure the listed admins are correct. Sites which have configured AnswerBook2 Documentation Servers may wish to disable AB2 and instead refer to Sun documentation at the Sun Product Documentation web site: http://docs.sun.com or view the documentation on the Solaris Documentation CD. To disable the AnswerBook2 Documentation Server, the following commands can be run as the root user: # /usr/lib/ab2/bin/ab2admin -o stop # /usr/lib/ab2/bin/ab2admin -o autostart_no 5. Resolution Please see the "Relief/Workaround" section for the resolution to this issue. 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-2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 57400 *****] _______________________________________________________________________________ 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-001: Sun aspppls(1M) does not create the temporary file /tmp/.asppp.fifo safely O-002: Microsoft Internet Explorer Cumulative Patch O-003: HP Potential Security Vulnerability in dtprintinfo O-004: Microsoft Buffer Overrun in Messenger Service Could Allow Code Execution O-005: Microsoft Exchange Server Vulnerabilities O-006: Microsoft Authenticode Verification Vulnerability O-007: Microsoft Windows Help and Support Center Buffer Overrun Vulnerability O-008: Microsoft Troubleshooter ActiveX Control Buffer Overflow Vulnerability O-009: Microsoft Listbox and ComboBox Control Buffer Overrun Vulnerabilities O-010: Microsoft Exchange Server 5.5 Outlook Web Access Vulnerability