__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Updated Kerberos Packages Fix Vulnerability in ftp Client [Red Hat RHSA-2003:020-10] February 3, 2003 15:00 GMT Number N-036 ______________________________________________________________________________ PROBLEM: A vulnerability has been identified in the Kerberos ftp client. When retrieving a file with a filename beginning with a pipe character, the ftp client will pass the filename to the command shell in a system() call. PLATFORM: Red Hat Linux 6.2 Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Red Hat Linux 7.3 Red Hat Linux 8.0 DAMAGE: This could allow a malicious ftp server to write to files outside of the current directory or execute commands as the user running the ftp client. SOLUTION: Apply updated packages. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. There have been no reports as yet of this ASSESSMENT: vulnerability being exploited. All users of Kerberos are advised to upgrade. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/n-036.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2003-020.html ______________________________________________________________________________ [***** Start Red Hat RHSA-2003:020-10 *****] Updated kerberos packages fix vulnerability in ftp client Advisory: RHSA-2003:020-10 Last updated on: 2003-01-31 Affected Products: Red Hat Linux 6.2 Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Red Hat Linux 7.3 Red Hat Linux 8.0 CVEs (cve.mitre.org): CAN-2003-0041 Security Advisory Details: Updated packages fix a vulnerability found in the Kerberos ftp client distributed with the Red Hat Linux krb5 packages. Kerberos is a network authentication system. A problem has been found in the Kerberos ftp client. When retrieving a file with a filename beginning with a pipe character, the ftp client will pass the filename to the command shell in a system() call. This could allow a malicious ftp server to write to files outside of the current directory or execute commands as the user running the ftp client. The Kerberos ftp client runs as the default ftp client when the Kerberos package krb5-workstation is installed on a Red Hat Linux distribution. All users of Kerberos are advised to upgrade to these errata packages which contain a backported patch and are not vulnerable to this issue. Updated packages: Red Hat Linux 6.2 -------------------------------------------------------------------------------- SRPMS: krb5-1.1.1-32.src.rpm [ via FTP ] [ via HTTP ] 7de192f207e97710837dfdc18dc8be0b i386: krb5-configs-1.1.1-32.i386.rpm [ via FTP ] [ via HTTP ] 4336912a27f2bc883f29ac6d05b6c154 krb5-devel-1.1.1-32.i386.rpm [ via FTP ] [ via HTTP ] 18bdb726d9f38dbc792d5f15bc9db723 krb5-libs-1.1.1-32.i386.rpm [ via FTP ] [ via HTTP ] 6200ee5d3f15a46e5cd3ff2861c881c0 krb5-server-1.1.1-32.i386.rpm [ via FTP ] [ via HTTP ] fc652d6f61443bc540ba290f69be2253 krb5-workstation-1.1.1-32.i386.rpm [ via FTP ] [ via HTTP ] 63ad9195b138e7dd65057aa298f8b085 Red Hat Linux 7.0 -------------------------------------------------------------------------------- SRPMS: krb5-1.2.2-16.src.rpm [ via FTP ] [ via HTTP ] 616cdc7ef0e0e21ea841d0094c907e0a i386: krb5-devel-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] a0828c84238c35f745a4e536ae0a9d28 krb5-libs-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 6a417b3633390567e24c8236d0a428aa krb5-server-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] ee80b17f8d07a416f615e18982bab8f8 krb5-workstation-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 94ed04976632fbfb45fed0cb1fe39176 Red Hat Linux 7.1 -------------------------------------------------------------------------------- SRPMS: krb5-1.2.2-16.src.rpm [ via FTP ] [ via HTTP ] 616cdc7ef0e0e21ea841d0094c907e0a i386: krb5-devel-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] a0828c84238c35f745a4e536ae0a9d28 krb5-libs-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 6a417b3633390567e24c8236d0a428aa krb5-server-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] ee80b17f8d07a416f615e18982bab8f8 krb5-workstation-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 94ed04976632fbfb45fed0cb1fe39176 Red Hat Linux 7.2 -------------------------------------------------------------------------------- SRPMS: krb5-1.2.2-16.src.rpm [ via FTP ] [ via HTTP ] 616cdc7ef0e0e21ea841d0094c907e0a i386: krb5-devel-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] a0828c84238c35f745a4e536ae0a9d28 krb5-libs-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 6a417b3633390567e24c8236d0a428aa krb5-server-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] ee80b17f8d07a416f615e18982bab8f8 krb5-workstation-1.2.2-16.i386.rpm [ via FTP ] [ via HTTP ] 94ed04976632fbfb45fed0cb1fe39176 ia64: krb5-devel-1.2.2-16.ia64.rpm [ via FTP ] [ via HTTP ] d3eac1b4295ee369dcfd9995a0e45b37 krb5-libs-1.2.2-16.ia64.rpm [ via FTP ] [ via HTTP ] ef40911979476a6eb1e5478ac7c47fea krb5-server-1.2.2-16.ia64.rpm [ via FTP ] [ via HTTP ] b75832522f7ea9947be50798ef26b779 krb5-workstation-1.2.2-16.ia64.rpm [ via FTP ] [ via HTTP ] 6048f3c9244988cba98faf1393c27723 Red Hat Linux 7.3 -------------------------------------------------------------------------------- SRPMS: krb5-1.2.4-4.src.rpm [ via FTP ] [ via HTTP ] 3969cabccac559df1e3dcb52053c4027 i386: krb5-devel-1.2.4-4.i386.rpm [ via FTP ] [ via HTTP ] 6aec2391885a30736e5e1de4a771dc2f krb5-libs-1.2.4-4.i386.rpm [ via FTP ] [ via HTTP ] 722ab734d6ce600dd80bba2486d8a140 krb5-server-1.2.4-4.i386.rpm [ via FTP ] [ via HTTP ] 6b5f820a689f7298d31258df42940216 krb5-workstation-1.2.4-4.i386.rpm [ via FTP ] [ via HTTP ] 342240d400ec1a1538d04da1d223bbf6 Red Hat Linux 8.0 -------------------------------------------------------------------------------- SRPMS: krb5-1.2.5-8.src.rpm [ via FTP ] [ via HTTP ] eea7b6df4f894efbdd94bac8be3f917d i386: krb5-devel-1.2.5-8.i386.rpm [ via FTP ] [ via HTTP ] 9e91371e397a6eec059a1b5e3139f3ef krb5-libs-1.2.5-8.i386.rpm [ via FTP ] [ via HTTP ] a830d26d187e18be678ee12722eec485 krb5-server-1.2.5-8.i386.rpm [ via FTP ] [ via HTTP ] fd353f875ea9edc4375af13ba80ae38f krb5-workstation-1.2.5-8.i386.rpm [ via FTP ] [ via HTTP ] 70b04bf0aa7662af6704ce0223ebb914 Solution Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0041 http://www.kb.cert.org/vuls/id/258721 http://marc.theaimsgroup.com/?l=bugtraq&m=87602746719482 http://marc.theaimsgroup.com/?l=bugtraq&m=87602746719527 Keywords: ftp, krb5, netkit -------------------------------------------------------------------------------- The listed packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/solutions/security/news/publickey.html#key You can verify each package and see who signed it with the following command: rpm --checksig -v filename If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: md5sum filename Note that you need RPM >= 3.0 to check GnuPG keys. The Red Hat security contact is security@redhat.com. More contact details at http://www.redhat.com/solutions/security/news/contact.html [***** End Red Hat RHSA-2003:020-10 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat 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) N-026: Flaw in Microsoft VM Could Enable System Compromise N-027: Flaw in Windows WM_TIMER Message Handling N-028: Vulnerabilities in SSH2 Implementations from Multiple Vendors N-029: Microsoft Unchecked Buffer in Windows Shell Vulnerability N-030: HP: Sendmail Restricted Shell (smrsh) Vulnerability N-031: Buffer Overflows in ISC DHCPD Minires Library N-032: Double-Free Bug in Concurrent Versions System (CVS) Server N-033: Unchecked Buffer in Locator Service Vulnerability N-034: Cumulative Patch for Microsoft Content Management Server N-035: Microsoft V1 Exchange Server Security Certificates Vulnerability