__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Buffer Overflow in the CDE Mailer dtmail(1X) [Sun Alert ID: 57627] August 24, 2004 17:00 GMT Number O-202 ______________________________________________________________________________ PROBLEM: A vulnerability exists in CDE Mailer (dtmail). CDE Mailer (dtmail) is the mail user agent (MUA) for CDE, which is installed on Solaris 8 and 9 by default. PLATFORM: Solaris 8 and 9, on SPARC and x86 platforms DAMAGE: Exploitation of a format string vulnerability in the dtmail binary included with CDE can allow local attackers to gain mail group privileges. SOLUTION: Apply the available security patches. ______________________________________________________________________________ VULNERABILITY The risk is LOW. If this vulnerability is exploited, a local ASSESSMENT: attacker with access to a mail server has the ability to read, modify, and delete the e-mail of users in "/var/mail". ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/O-202.shtml ORIGINAL BULLETIN: http://au.sunsolve.sun.com/search/document.do?assetkey= 1-26-57627-1 ADDITIONAL LINK: iDefense Security Advisory 01.4.3 http://www.idefense.com/application/poi/display? id=132&type=vulnerabilities ______________________________________________________________________________ [***** Start Sun Alert ID: 57627 *****] Sun(sm) Alert Notification * Sun Alert ID: 57627 * Synopsis: Buffer Overflow in the CDE Mailer dtmail(1X) * Category: Security * Product: Solaris * BugIDs: 5038601 * Avoidance: Workaround, Patch * State: Resolved * Date Released: 23-Aug-2004 * Date Closed: 23-Aug-2004 * Date Modified: 1. Impact Unprivileged local users may be able to gain unauthorized "Group ID" (gid) mail privileges due to a buffer overflow in the CDE Mailer (dtmail(1X)). This would allow users with access to a mail server the ability to read, modify, and delete the e-mail of other users in "/var/mail". Sun acknowledges, with thanks, iDEFENSE for contacting us regarding this issue. For additional information regarding this issue, please see: http://www.idefense.com/application/poi/display?type=vulnerabilities 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * CDE 1.4 for Solaris 8 without patch 109613-07 * CDE 1.5 for Solaris 9 without patch 112810-06 x86 Platform * CDE 1.4 for Solaris 8 without patch 109614-07 * CDE 1.5 for Solaris 9 without patch 113870-05 Note: Solaris 7 is not affected by this issue. 3. Symptoms There are no symptoms that would indicate the described issue has been exploited to gain unauthorized "gid" mail access to a host. Solution Summary Top 4. Relief/Workaround To work around the described issue, remove the "set-group-ID" bit from dtmail(1X) by doing the following: # chmod 0555 /usr/dt/bin/dtmail Note: Removing the "gid" bit from dtmail(1X) may make it impossible to read NFS mounted mail boxes. 5. Resolution This issue is addressed in the following releases: SPARC Platform * CDE 1.4 for Solaris 8 with patch 109613-07 or later * CDE 1.5 for Solaris 9 with patch 112810-06 or later x86 Platform * CDE 1.4 for Solaris 8 with patch 109614-07 or later * CDE 1.5 for Solaris 9 with patch 113870-05 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. [***** End Sun Alert ID: 57627 *****] _______________________________________________________________________________ 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-193: Linux Kernel Packages Updated O-194: GNOME VFS "extfs" Vulnerability O-195: Mozilla Updated Security Packages O-196: "glibc" Buffer Overflow Vulnerabilities O-197: Microsoft Exchange Server 5.5 Outlook Web Access Vulnerability O-198: Rsync Unsanitised Input Processing CIACTech04-002: Rootkit Backdoor Trigger Detection Strings O-199: Cisco IOS Malformed OSPF Packet Causes Reload O-200: Updated PAM Packages O-201: Qt Package Vulnerabilities