__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Gnome Toolkit (GTK+) Support Libraries Vulnerability [Hewlett Packard HPSBUX01034 (SSRT3613)] May 14, 2004 21:00 GMT Number O-143 [REVISED 25 Feb 2005] ______________________________________________________________________________ PROBLEM: A directory permissions vulnerability has been identified. PLATFORM: HP-UX B.11.00, B.11.11 with B6848AB GTK+ Support Libraries installed. DAMAGE: A local user could gain elevated privileges. SOLUTION: Apply the appropriate vendor patches. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A local user could gain root access. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-143.shtml ORIGINAL BULLETIN: Visit Hewlett Packard's Subscription Service for: HPSBUX01034 (SSRT3613) rev. 1 ______________________________________________________________________________ [***** Start Hewlett Packard HPSBUX01034 (SSRT3613) *****] HP SECURITY BULLETIN HPSBUX01034 REVISION: 0 SSRT3613 rev.1 HP-UX B6848AB GTK+ Support Libraries elevated privileges NOTICE: There are no restrictions for distribution of this Bulletin provided that it remains complete and intact. The information in this Security bulletin should be acted upon as soon as possible. INITIAL RELEASE: 22 February 2005 POTENTIAL SECURITY IMPACT: elevated privileges for a local authorized user. SOURCE: HEWLETT-PACKARD COMPANY HP Software Security Response Team REFERENCES: None VULNERABILITY SUMMARY: A potential vulnerability has been identified with HP-UX running B6848AB GTK+ Support Libraries where a directory permissions issue could be exploited to allow a local authorized user to gain elevated privileges. SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed. HP-UX B.11.00, B.11.11 with B6848AB GTK+ Support Libraries installed BACKGROUND: The product B6848AB (GTK+ Libraries) is available for download from software.hp.com: < http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/ displayProductInfo.pl?productNumber=B6848AB> The source files in this product are world writable. After the product is installed any user can modify the source. If new libraries are to be built using this source code the files should be verified. The web page above has the following description of B6848AB: The GTK+ Libraries are the open source GNU toolkit for X windows development. The version provided here is unsupported, but is provided for use with the unsupported Mozilla browser for 10.20 and for old versions of Netscape (i.e. 6.2.1), which depend on it. We recommend upgrading to a newer browser/OS combo, such as Mozilla for HP-UX 11.0 and later, which require a newer version of the GTK. Note: Product B6848BA (ximian gnome 1.4 gtk+ libraries for hp-ux) does NOT have this permissions problem. AFFECTED VERSIONS Note: To determine if a system has an affected version, search the output of "swlist -a revision -l fileset" for an affected fileset. Then determine if the recommended patch or update is installed. HP-UX B.11.00 HP-UX B.11.11 ============= GTK+.GTK+-SRC GLib.GLIB-SRC ->action: install revision 1.2.10.2.1 or Subsequent. Gettext.GETTEXT-SRC ->action: install revision 0.10.39.2.1 or subsequent. END AFFECTED VERSIONS RESOLUTION: Note: The directory permissions are secure in all versions of B6848BA. However, only versions of B6848BA -> containing the following file sets resolve the permissions -> issue for directories installed by B6848AB: -> GTK+.GTK+-SRC, revision 1.2.10.2.1 or subsequent. -> GLib.GLIB-SRC, revision 1.2.10.2.1 or subsequent. -> Gettext.GETTEXT-SRC, revision 0.10.39.2.1 or subsequent. Note: B6848AB is only required for Netscape 6, which is no longer supported on HP-UX. The recommended solution is HP's Mozilla (www.hp.com/go/mozilla), which requires B6848BA. If B6848BA is needed: 1. Remove B6848AB. This removes any potentially altered source files. However, the directories remain with unsafe permissions. 2. Install B6848BA revision 1.4.gm.46 or subsequent. This corrects the directory permissions. 3. Reinstall B6848AB if it is needed. If B6848BA is not needed and B6848AB is needed. 1. Remove B6848AB. 2. Reinstall B6848AB. 3. Immediately make the following changes to directory permissions: chmod 555 /opt/gnome/src/GLib/glib-1.2.8 chmod 555 /opt/gnome/src/GLib/glib-1.2.8/docs chmod 555 /opt/gnome/src/GLib/glib-1.2.8/gmodule chmod 555 /opt/gnome/src/GLib/glib-1.2.8/gthread chmod 555 /opt/gnome/src/GLib/glib-1.2.8/tests chmod 555 /opt/gnome/src/GTK+/gtk+-1.2.10 chmod 555 /opt/gnome/src/GTK+/gtk+-1.2.10/docs chmod 555 /opt/gnome/src/GTK+/gtk+-1.2.10/gdk chmod 555 /opt/gnome/src/GTK+/gtk+-1.2.10/gtk chmod 555 /opt/gnome/src/GTK+/gtk+-1.2.10/po chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35 chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/doc chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/intl chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/lib chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/m4 chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/misc chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/po chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/src chmod 555 /opt/gnome/src/Gettext/gettext-0.10.35/tests Please write to security-alert@hp.com to request a PGP signed version of this bulletin. MANUAL ACTIONS: Yes - Update If B6848AB is needed: ->Remove B6848AB. ->Reinstall B6848AB. ->Manually change directory permissions. BULLETIN REVISION HISTORY: Revision 0: 10 May 2004 Initial Release ->Revision 1: 22 February 2005 -> Changed action to install B6848BA. ->Corrected manual actions. * The software product category that this Security Bulletin relates to is represented by the 5th and 6th characters of the Bulletin number: GN=General, MA=Management Agents, MI=Misc. 3rd party, MP=HP-MPE/iX, NS=HP NonStop Servers, OV=HP OpenVMS, PI=HP Printing & Imaging, ST=HP Storage, TU=HP Tru64 UNIX, TL=Trusted Linux, UX=HP-UX, VV=Virtual Vault SUPPORT: For further information, contact HP Services support channel. SUBSCRIBE: To initiate a subscription to receive future HP Security Bulletins via Email: http://h30046.www3.hp.com/driverAlertProfile.php?regioncode=NA&langcode= USENG&jumpid=in_SC-GEN__driverITRC&topiccode=ITRC On the web page: Driver and Support Alerts/Notifications Sign-up: Product Selection Under Step1: your products 1. Select product category: - a minimum of servers must be selected. 2. Select product family or search: - a minimum of one product must be selected. 3. Add a product: - a minimum of one product must be added. In Step 2: your operating system(s) - check ALL operating systems for which alerts are required. Complete the form and Save. To update an existing subscription: http://h30046.www3.hp.com/subSignIn.php Log in on the web page Subscriber's choice for Business: sign-in. On the Web page: Subscriber's Choice: your profile summary - use Edit Profile to update appropriate sections. Note: In addition to the individual alerts/notifications for the selected operating systems/products, subscribers will automatically receive one copy of alerts for non-operating system categories (i.e., a subscriber who signs up for all six operating system alerts will only receive one copy of all the non-operating system alerts). HP-UX SPECIFIC SECURITY BULLETINS*: To review previously published Security Bulletins for HP-UX: http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin The HP-UX Security Patch Matrix is available here: http://itrc.hp.com/service/cki/docDisplay.do?docId=hpuxSecurityMatrix Or via anonymous ftp: ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/ The HP-UX Security Patch Matrix, updated daily, categorizes security patches by platform/OS release, and by Bulletin topic. The Security Patch Check tool completely automates the process of reviewing the Security Patch Matrix for HP-UX 11.XX Versions. NOTE: Installing patches listed in the Security Patch Matrix will completely implement the RESOLUTION in the Security Bulletin _only_ if there are no MANUAL ACTIONS included. The Security Patch Check tool can also verify that a Security Bulletin RESOLUTION has been implemented on HP-UX 11.XX Versions provided that no MANUAL ACTIONS were included. The Security Patch Check tool cannot verify patches implemented via product upgrade. For information on the Security Patch Check tool, see: http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/ displayProductInfo.pl?productNumber=B6834AA REPORT: To report a potential security vulnerability with any HP supported product, send Email to: security-alert@hp.com. It is strongly recommended that security related information being communicated to HP be encrypted using PGP, especially exploit information. To obtain the security-alert PGP key please send an e-mail message to security-alert@hp.com with the Subject of 'get key' (no quotes). System management and security procedures must be reviewed frequently to maintain system integrity. HP is continually reviewing and enhancing the security features of software products to provide customers with current secure solutions. "HP is broadly distributing this Security Bulletin in order to bring to the attention of users of the affected HP products the important security information contained in this Bulletin. HP recommends that all users determine the applicability of this information to their individual situations and take appropriate action. HP does not warrant that this information is necessarily accurate or complete for all user situations and, consequently, HP will not be responsible for any damages resulting from user's use or disregard of the information provided in this Bulletin. To the extent permitted by law, HP disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose, title and non-infringement." ©Copyright 2004 Hewlett-Packard Development Company, L.P. Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information provided is provided "as is" without warranty of any kind. To the extent permitted by law, neither HP or its affiliates, subcontractors or suppliers will be liable for incidental, special or consequential damages including downtime cost; lost profits; damages relating to the procurement of substitute products or services; or damages for loss of data, or software restoration. The information in this document is subject to change without notice. Hewlett-Packard Company and the names of Hewlett-Packard products referenced herein are trademarks of Hewlett-Packard Company in the United States and other countries. Other product and company names mentioned herein may be trademarks of their respective owners. [***** End Hewlett Packard HPSBUX01034 (SSRT3613) *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Hewlett Packard 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-133: Red Hat utempter Package Vulnerability O-134: Debian rsync O-135: Apple QuickTime Integer Overflow O-136: HP Web JetAdmin Vulnerabilities O-137: SGI IRIX Networking Security Vulnerabilities O-138: Mac OS X Jaguar and Panther Security Vulnerabilities O-139: Apple Mac OS X AppleFileServer Authentication Vulnerability O-140: Microsoft HCP Protocol URL Validation Vulnerability O-141: Symantec Client Firewall Remote Access Vulnerabilities O-142: Hewlett Packaged HP-UX dtlogin Vulnerability