__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun FTP Daemon of Heimdal is Vulnerable to Race Conditions [Sun Alert ID: 57655] October 19, 2004 16:00 GMT Number P-016 ______________________________________________________________________________ PROBLEM: The FTP daemon of Heimdal is vulnerable to multiple signal handler race conditions. PLATFORM: Linux Sun Java Desktop System (JDS) 2003 without the updated RPMs (patch-9369) Sun Java Desktop System (JDS) Release 2 without the updated RPMs (patch-9369) Note: JDS for Solaris is not impacted by this issue. DAMAGE: May allow an unprivileged remote or local user to execute arbitrary code with the privileges (typically root) of the FTP server process. SOLUTION: Update to the appropriate upgrade. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. Remote or local user may be able to gain ASSESSMENT: root access, however, extremely hard to exploit this vulnerability. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-016.shtml ORIGINAL BULLETIN: Sun Alert ID: 57655 http://www.sunsolve.sun.com/search/document.do?assetkey= 1-26-57655-1&searchclause= CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0794 ______________________________________________________________________________ [***** Start Sun Alert ID: 57655 *****] Sun(sm) Alert Notification Sun Alert ID: 57655 Synopsis: The FTP Daemon of Heimdal is Vulnerable to Multiple Signal Handler Race Conditions Category: Security Product: Sun Java Desktop System (JDS) BugIDs: 6175051 Avoidance: Patch State: Resolved Date Released: 15-Oct-2004 Date Closed: 15-Oct-2004 Date Modified: 1. Impact The FTP daemon of Heimdal is vulnerable to multiple signal handler race conditions that may allow an unprivileged remote or local user to execute aribitrary code with the privileges (typically root) of the FTP server process. Note: Heimdal (heimdal.info) is a free implementation of Kerberos 5. This issue is described in the following documents: http://www.pdc.kth.se/heimdal/advisory/2004-09-13/ http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0794 http://bugs.gentoo.org/show_bug.cgi?id=61412 2. Contributing Factors This issue can occur in the following releases: Linux * Sun Java Desktop System (JDS) 2003 without the updated RPMs (patch-9369) * Sun Java Desktop System (JDS) Release 2 without the updated RPMs (patch-9369) Note: JDS for Solaris is not impacted by this issue. This issue only occurs with Heimdal FTP versions heimdal-0.4e-396 or earlier. To determine the release of JDS for Linux installed on a system, the following command can be run: % cat /etc/sun-release Sun Java Desktop System, Release 2 -build 10b (GA) Assembled 30 March 2004 To determine the version of Heimdal, the following command can be run: % rpm -qf /usr/lib/heimdal/sbin/ftpd heimdal-0.4e-396 3. Symptoms There are no predictable symptoms that would indicate the described issue has been exploited. Solution Summary Top 4. Relief/Workaround There is no workaround. Please see the "Resolution" section below. 5. Resolution This issue is addressed in the following releases: Linux * Sun Java Desktop System (JDS) 2003 with the updated RPMs (patch-9369) * Sun Java Desktop System (JDS) Release 2 with the updated RPMs (patch-9369) To download and install the updated RPMs from the update servers select the following from the launch bar: Launch >> Applications >> System Tools >> Online Update For more information on obtaining updates see: http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5 http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7 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: 57655 *****] _______________________________________________________________________________ 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-006: Microsoft Cumulative Security Update for Internet Explorer (834707) 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