__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Updated Cyrus-SASL Packages Fix Security Flaw [Red Hat Advisory RHSA-2004:546-12] October 7, 2004 19:00 GMT Number P-003 [REVISED 12 Oct 2004] [REVISED 15 Oct 2004] [REVISED 18 Oct 2004] [REVISED 25 Oct 2004] ______________________________________________________________________________ PROBLEM: A setuid and setgid application vulnerability was found in the cyrus-sasl packages. The cyrus-sasl package contains the Cyrus implementation of SASL. SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. PLATFORM: Red Hat Desktop (v. 3) Red Hat Enterprise Linux AS, ES, WS (v. 2.1 & v. 3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor Debian GNU/Linux 3.0 (woody) Debian GNU/Linux 3.0 (woody) version 1.5.27-3.1woody5 Debian GNU/Linux 3.0 (woody) version 1.5.28-6.2 of cyrus-sasl Debian GNU/Linux 3.0 (woody) version 2.1.19-1.3 of cyrys-sasl2 Debian GNU/Linux 3.0 (woody) version 1.5.24-15woody3 SGI ProPack 3 Service Pack 1 DAMAGE: In situations where an untrusted local user can affect the environment of a privileged process, this behavior could be exploited to run arbitrary code with the privileges of a setuid or setgid application. SOLUTION: Install the updated packages. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. If this vulnerability is exploited a local ASSESSMENT: user may execute code in the context of a privileged user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-003.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2004-546.html ADDITIONAL LINK: Debian Security Advisory DSA-563-3 http://www.debian.org/security/2004/dsa-563 Debian Security Advisory DSA-568-1 http://www.debian.org/security/2004/dsa-568 SGI Security Advisory #20041003-01-U Update #15 http://www.sgi.com/support/security/advisories.html CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0884 ______________________________________________________________________________ REVISION HISTORY: 10/12/2004 - added link to Debian Security Advisory DSA-563-1 that provides patches for this vulnerability. 10/15/2004 - has been revised to reflect that Debian Security Advisory DSA-563-3 has provided patches for this vulnerability for Debian GNU/Linux woody version 1.5.27-3.1woody5 and version1.5.28-6.2 of cyrus-sasl and in version 2.1.19-1.3 of cyrus-sas2. 10/18/2004 - added link to Debian Security Advisory DSA-568-1 that provides patches for this vulnerability. 10/25/2004 - added a link to SGI Security Advisory 2004-1003-01-U Advanced Linux Environment 3 Security Update #15 for SGI ProPack 3 Service Pack 1. [***** Start Red Hat Advisory RHSA-2004:546-12 *****] Updated cyrus-sasl packages fix security flaw Advisory: RHSA-2004:546-12 Last updated on: 2004-10-07 Affected Products: Red Hat Desktop (v. 3) Red Hat Enterprise Linux AS (v. 2.1) Red Hat Enterprise Linux AS (v. 3) Red Hat Enterprise Linux ES (v. 2.1) Red Hat Enterprise Linux ES (v. 3) Red Hat Enterprise Linux WS (v. 2.1) Red Hat Enterprise Linux WS (v. 3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor CVEs (cve.mitre.org): CAN-2004-0884 back Security Advisory Details: Updated cyrus-sasl packages that fix a setuid and setgid application vulnerability are now available. The cyrus-sasl package contains the Cyrus implementation of SASL. SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. At application startup, libsasl and libsasl2 attempts to build a list of all available SASL plug-ins which are available on the system. To do so, the libraries search for and attempt to load every shared library found within the plug-in directory. This location can be set with the SASL_PATH environment variable. In situations where an untrusted local user can affect the environment of a privileged process, this behavior could be exploited to run arbitrary code with the privileges of a setuid or setgid application. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0884 to this issue. Users of cyrus-sasl should upgrade to these updated packages, which contain backported patches and are not vulnerable to this issue. Updated packages: Red Hat Desktop (v. 3) -------------------------------------------------------------------------------- AMD64: cyrus-sasl-2.1.15-9.x86_64.rpm 7008444c7feb4516e29f4af965be2d3c cyrus-sasl-devel-2.1.15-9.x86_64.rpm f063da2d593dfca9bbffed47e74992a6 cyrus-sasl-gssapi-2.1.15-9.x86_64.rpm bced324f78f7d7453d3756e7d23a461b cyrus-sasl-md5-2.1.15-9.x86_64.rpm 1261e9ccb900f36592ddfa09c64ba354 cyrus-sasl-plain-2.1.15-9.x86_64.rpm 4ea63d22a136b332f5c405a5c43e1f96 SRPMS: cyrus-sasl-2.1.15-9.src.rpm aaf9ffaec315e592644d6daae68aae82 i386: cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-devel-2.1.15-9.i386.rpm 6919e5fcd850ee85f783309cb1470aa5 cyrus-sasl-gssapi-2.1.15-9.i386.rpm e9ad63b5a0afe14540367226f0433f4b cyrus-sasl-md5-2.1.15-9.i386.rpm 1f88d0820350da52c6366cb1212b8936 cyrus-sasl-plain-2.1.15-9.i386.rpm 8be156532f450097531cb90774a10385 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 Red Hat Enterprise Linux AS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: cyrus-sasl-1.5.24-26.src.rpm adf38e226dfa211bb2e7e83c5c5418b9 i386: cyrus-sasl-1.5.24-26.i386.rpm 0ecb1995b05aebf41e8c609b367e902f cyrus-sasl-devel-1.5.24-26.i386.rpm 846a21bc2e1a84f37f9f43f973ebda44 cyrus-sasl-gssapi-1.5.24-26.i386.rpm 9d29af70b1dd3a98f8eba31fa796d338 cyrus-sasl-md5-1.5.24-26.i386.rpm ddaf1332b6bdad447e1550fccab267eb cyrus-sasl-plain-1.5.24-26.i386.rpm 67c7f02257346ccbc236a02bbac49925 ia64: cyrus-sasl-1.5.24-26.ia64.rpm 97497be93ad3074862be30b3eaf9fe46 cyrus-sasl-devel-1.5.24-26.ia64.rpm 6c4362bc42c9c41f7eb07b61ee733320 cyrus-sasl-gssapi-1.5.24-26.ia64.rpm bd3a433063c18f2384bc9249a58d8504 cyrus-sasl-md5-1.5.24-26.ia64.rpm 6d34fc4ff8ffda80308d02e82bcefc64 cyrus-sasl-plain-1.5.24-26.ia64.rpm 1eb867b4419336e95ffffec0a88fe01f Red Hat Enterprise Linux AS (v. 3) -------------------------------------------------------------------------------- AMD64: cyrus-sasl-2.1.15-9.x86_64.rpm 7008444c7feb4516e29f4af965be2d3c cyrus-sasl-devel-2.1.15-9.x86_64.rpm f063da2d593dfca9bbffed47e74992a6 cyrus-sasl-gssapi-2.1.15-9.x86_64.rpm bced324f78f7d7453d3756e7d23a461b cyrus-sasl-md5-2.1.15-9.x86_64.rpm 1261e9ccb900f36592ddfa09c64ba354 cyrus-sasl-plain-2.1.15-9.x86_64.rpm 4ea63d22a136b332f5c405a5c43e1f96 SRPMS: cyrus-sasl-2.1.15-9.src.rpm aaf9ffaec315e592644d6daae68aae82 i386: cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-devel-2.1.15-9.i386.rpm 6919e5fcd850ee85f783309cb1470aa5 cyrus-sasl-gssapi-2.1.15-9.i386.rpm e9ad63b5a0afe14540367226f0433f4b cyrus-sasl-md5-2.1.15-9.i386.rpm 1f88d0820350da52c6366cb1212b8936 cyrus-sasl-plain-2.1.15-9.i386.rpm 8be156532f450097531cb90774a10385 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 ia64: cyrus-sasl-2.1.15-9.ia64.rpm 6bbbc7ee16697a0cb1009b3730fef0ba cyrus-sasl-devel-2.1.15-9.ia64.rpm d2580374e50340bf14d956974a3fb451 cyrus-sasl-gssapi-2.1.15-9.ia64.rpm 37fcb197c372282ee31dff7d2d81566c cyrus-sasl-md5-2.1.15-9.ia64.rpm 444f44cdba6333e1343e23e6d67e6ce6 cyrus-sasl-plain-2.1.15-9.ia64.rpm 8d4d75121ec2e6987f319381ac601716 ppc: cyrus-sasl-2.1.15-9.ppc.rpm 0dc0857831f3e90217f8f3fd27da70eb cyrus-sasl-devel-2.1.15-9.ppc.rpm 383e13e965189970e5a5f826c6c03af2 cyrus-sasl-gssapi-2.1.15-9.ppc.rpm 04c195d25dd2d29e808c61f32361428c cyrus-sasl-md5-2.1.15-9.ppc.rpm 782939ca66fdae0de95696cd4e903d40 cyrus-sasl-plain-2.1.15-9.ppc.rpm c9549f71008205a824ed0426c3b873cb ppc64: cyrus-sasl-2.1.15-9.ppc64.rpm 053c8601822ab5206cdc7db1e35e0ea0 s390: cyrus-sasl-2.1.15-9.s390.rpm adcb50ec0fb14951af6bfe006bc7a295 cyrus-sasl-devel-2.1.15-9.s390.rpm 8dab6edb113343ea0b5550ff7635cded cyrus-sasl-gssapi-2.1.15-9.s390.rpm a6c9955bb6df5a16a1012ded6df2eb27 cyrus-sasl-md5-2.1.15-9.s390.rpm 9873745733c8ad088251b09bec06a376 cyrus-sasl-plain-2.1.15-9.s390.rpm 07d56edf20dd4d7cf705c8e246329466 cyrus-sasl-2.1.15-9.s390.rpm adcb50ec0fb14951af6bfe006bc7a295 s390x: cyrus-sasl-2.1.15-9.s390x.rpm 111e650ab71231c95143847f60a7237b cyrus-sasl-devel-2.1.15-9.s390x.rpm 2b0b6453e0738875aaef6a8958ced9fc cyrus-sasl-gssapi-2.1.15-9.s390x.rpm 72a6318fe8f7a7af727698d98ffc3b0e cyrus-sasl-md5-2.1.15-9.s390x.rpm a45b9c7802f581e14f17d0daa04e8340 cyrus-sasl-plain-2.1.15-9.s390x.rpm 5ee2ddc76df85de40f8fb7d9a42fe81c Red Hat Enterprise Linux ES (v. 2.1) -------------------------------------------------------------------------------- SRPMS: cyrus-sasl-1.5.24-26.src.rpm adf38e226dfa211bb2e7e83c5c5418b9 i386: cyrus-sasl-1.5.24-26.i386.rpm 0ecb1995b05aebf41e8c609b367e902f cyrus-sasl-devel-1.5.24-26.i386.rpm 846a21bc2e1a84f37f9f43f973ebda44 cyrus-sasl-gssapi-1.5.24-26.i386.rpm 9d29af70b1dd3a98f8eba31fa796d338 cyrus-sasl-md5-1.5.24-26.i386.rpm ddaf1332b6bdad447e1550fccab267eb cyrus-sasl-plain-1.5.24-26.i386.rpm 67c7f02257346ccbc236a02bbac49925 Red Hat Enterprise Linux ES (v. 3) -------------------------------------------------------------------------------- AMD64: cyrus-sasl-2.1.15-9.x86_64.rpm 7008444c7feb4516e29f4af965be2d3c cyrus-sasl-devel-2.1.15-9.x86_64.rpm f063da2d593dfca9bbffed47e74992a6 cyrus-sasl-gssapi-2.1.15-9.x86_64.rpm bced324f78f7d7453d3756e7d23a461b cyrus-sasl-md5-2.1.15-9.x86_64.rpm 1261e9ccb900f36592ddfa09c64ba354 cyrus-sasl-plain-2.1.15-9.x86_64.rpm 4ea63d22a136b332f5c405a5c43e1f96 SRPMS: cyrus-sasl-2.1.15-9.src.rpm aaf9ffaec315e592644d6daae68aae82 i386: cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-devel-2.1.15-9.i386.rpm 6919e5fcd850ee85f783309cb1470aa5 cyrus-sasl-gssapi-2.1.15-9.i386.rpm e9ad63b5a0afe14540367226f0433f4b cyrus-sasl-md5-2.1.15-9.i386.rpm 1f88d0820350da52c6366cb1212b8936 cyrus-sasl-plain-2.1.15-9.i386.rpm 8be156532f450097531cb90774a10385 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 ia64: cyrus-sasl-2.1.15-9.ia64.rpm 6bbbc7ee16697a0cb1009b3730fef0ba cyrus-sasl-devel-2.1.15-9.ia64.rpm d2580374e50340bf14d956974a3fb451 cyrus-sasl-gssapi-2.1.15-9.ia64.rpm 37fcb197c372282ee31dff7d2d81566c cyrus-sasl-md5-2.1.15-9.ia64.rpm 444f44cdba6333e1343e23e6d67e6ce6 cyrus-sasl-plain-2.1.15-9.ia64.rpm 8d4d75121ec2e6987f319381ac601716 Red Hat Enterprise Linux WS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: cyrus-sasl-1.5.24-26.src.rpm adf38e226dfa211bb2e7e83c5c5418b9 i386: cyrus-sasl-1.5.24-26.i386.rpm 0ecb1995b05aebf41e8c609b367e902f cyrus-sasl-devel-1.5.24-26.i386.rpm 846a21bc2e1a84f37f9f43f973ebda44 cyrus-sasl-gssapi-1.5.24-26.i386.rpm 9d29af70b1dd3a98f8eba31fa796d338 cyrus-sasl-md5-1.5.24-26.i386.rpm ddaf1332b6bdad447e1550fccab267eb cyrus-sasl-plain-1.5.24-26.i386.rpm 67c7f02257346ccbc236a02bbac49925 Red Hat Enterprise Linux WS (v. 3) -------------------------------------------------------------------------------- AMD64: cyrus-sasl-2.1.15-9.x86_64.rpm 7008444c7feb4516e29f4af965be2d3c cyrus-sasl-devel-2.1.15-9.x86_64.rpm f063da2d593dfca9bbffed47e74992a6 cyrus-sasl-gssapi-2.1.15-9.x86_64.rpm bced324f78f7d7453d3756e7d23a461b cyrus-sasl-md5-2.1.15-9.x86_64.rpm 1261e9ccb900f36592ddfa09c64ba354 cyrus-sasl-plain-2.1.15-9.x86_64.rpm 4ea63d22a136b332f5c405a5c43e1f96 SRPMS: cyrus-sasl-2.1.15-9.src.rpm aaf9ffaec315e592644d6daae68aae82 i386: cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-devel-2.1.15-9.i386.rpm 6919e5fcd850ee85f783309cb1470aa5 cyrus-sasl-gssapi-2.1.15-9.i386.rpm e9ad63b5a0afe14540367226f0433f4b cyrus-sasl-md5-2.1.15-9.i386.rpm 1f88d0820350da52c6366cb1212b8936 cyrus-sasl-plain-2.1.15-9.i386.rpm 8be156532f450097531cb90774a10385 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 cyrus-sasl-2.1.15-9.i386.rpm ee9649ea378ae6e28af20b2dffaca059 ia64: cyrus-sasl-2.1.15-9.ia64.rpm 6bbbc7ee16697a0cb1009b3730fef0ba cyrus-sasl-devel-2.1.15-9.ia64.rpm d2580374e50340bf14d956974a3fb451 cyrus-sasl-gssapi-2.1.15-9.ia64.rpm 37fcb197c372282ee31dff7d2d81566c cyrus-sasl-md5-2.1.15-9.ia64.rpm 444f44cdba6333e1343e23e6d67e6ce6 cyrus-sasl-plain-2.1.15-9.ia64.rpm 8d4d75121ec2e6987f319381ac601716 Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor -------------------------------------------------------------------------------- SRPMS: cyrus-sasl-1.5.24-26.src.rpm adf38e226dfa211bb2e7e83c5c5418b9 ia64: cyrus-sasl-1.5.24-26.ia64.rpm 97497be93ad3074862be30b3eaf9fe46 cyrus-sasl-devel-1.5.24-26.ia64.rpm 6c4362bc42c9c41f7eb07b61ee733320 cyrus-sasl-gssapi-1.5.24-26.ia64.rpm bd3a433063c18f2384bc9249a58d8504 cyrus-sasl-md5-1.5.24-26.ia64.rpm 6d34fc4ff8ffda80308d02e82bcefc64 cyrus-sasl-plain-1.5.24-26.ia64.rpm 1eb867b4419336e95ffffec0a88fe01f (The unlinked packages above are only available from the Red Hat Network) Solution Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command: up2date For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system: http://www.redhat.com/docs/manuals/enterprise/ References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0884 https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sasl/lib/common.c.diff ?r1=1.103&r2=1.104 Keywords: environment -------------------------------------------------------------------------------- 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/#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 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 Advisory RHSA-2004:546-12 *****] _______________________________________________________________________________ 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) O-217: "gdk-pixbuf" Package vulnerability O-218: HP Web Jetadmin Remote Access Vulnerability O-219: Sudo - "Sudoedit" Vulnerabilities O-220: "Any to PostScript" (a2ps) Filter Vulnerability O-221: Apache HTTP Server 2.0.52 Released O-222: libXpm Library Contains Multiple Interger and Buffer Overflow Vulnerabilities O-223: RealNetworks, Inc. Releases Update to Address Security Vulnerabilities P-001: Red Hat Updated XFree86 Packages fix Security Issues P-002: Apple Security Update