Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2012.0744 Moderate: sudo security and bug fix update 8 August 2012 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: sudo Publisher: Red Hat Operating System: Red Hat Enterprise Linux Server 5 Red Hat Enterprise Linux WS/Desktop 5 UNIX variants (UNIX, Linux, OSX) Impact/Access: Modify Arbitrary Files -- Existing Account Resolution: Patch/Upgrade CVE Names: CVE-2012-3440 Original Bulletin: https://rhn.redhat.com/errata/RHSA-2012-1149.html Comment: This advisory references vulnerabilities in products which run on platforms other than Red Hat. It is recommended that administrators running sudo check for an updated version of the software for their operating system. - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ===================================================================== Red Hat Security Advisory Synopsis: Moderate: sudo security and bug fix update Advisory ID: RHSA-2012:1149-01 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2012-1149.html Issue date: 2012-08-07 CVE Names: CVE-2012-3440 ===================================================================== 1. Summary: An updated sudo package that fixes one security issue and several bugs is now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. 2. Relevant releases/architectures: Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64 Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64 3. Description: The sudo (superuser do) utility allows system administrators to give certain users the ability to run commands as root. An insecure temporary file use flaw was found in the sudo package's post-uninstall script. A local attacker could possibly use this flaw to overwrite an arbitrary file via a symbolic link attack, or modify the contents of the "/etc/nsswitch.conf" file during the upgrade or removal of the sudo package. (CVE-2012-3440) This update also fixes the following bugs: * Previously, sudo escaped non-alphanumeric characters in commands using "sudo -s" or "sudo -" at the wrong place and interfered with the authorization process. Some valid commands were not permitted. Now, non-alphanumeric characters escape immediately before the command is executed and no longer interfere with the authorization process. (BZ#844418) * Prior to this update, the sudo utility could, under certain circumstances, fail to receive the SIGCHLD signal when it was executed from a process that blocked the SIGCHLD signal. As a consequence, sudo could become suspended and fail to exit. This update modifies the signal process mask so that sudo can exit and sends the correct output. (BZ#844419) * The sudo update RHSA-2012:0309 introduced a regression that caused the Security-Enhanced Linux (SELinux) context of the "/etc/nsswitch.conf" file to change during the installation or upgrade of the sudo package. This could cause various services confined by SELinux to no longer be permitted to access the file. In reported cases, this issue prevented PostgreSQL and Postfix from starting. (BZ#842759) * Updating the sudo package resulted in the "sudoers" line in "/etc/nsswitch.conf" being removed. This update corrects the bug in the sudo package's post-uninstall script that caused this issue. (BZ#844420) * Prior to this update, a race condition bug existed in sudo. When a program was executed with sudo, the program could possibly exit successfully before sudo started waiting for it. In this situation, the program would be left in a zombie state and sudo would wait for it endlessly, expecting it to still be running. (BZ#844978) All users of sudo are advised to upgrade to this updated package, which contains backported patches to correct these issues. 4. Solution: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/knowledge/articles/11258 5. Bugs fixed (http://bugzilla.redhat.com/): 842759 - selinux blocks postgresql startup 844420 - sudo 1.7.2p1-14.el5_8 removed sudoers line from nsswitch.conf 844442 - CVE-2012-3440 sudo: insecure temporary file use in RPM %postun script 844978 - Sudo has racecondition leaving sudo with its zombie child running forever 6. Package List: Red Hat Enterprise Linux Desktop (v. 5 client): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/sudo-1.7.2p1-14.el5_8.2.src.rpm i386: sudo-1.7.2p1-14.el5_8.2.i386.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.i386.rpm x86_64: sudo-1.7.2p1-14.el5_8.2.x86_64.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.x86_64.rpm Red Hat Enterprise Linux (v. 5 server): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/sudo-1.7.2p1-14.el5_8.2.src.rpm i386: sudo-1.7.2p1-14.el5_8.2.i386.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.i386.rpm ia64: sudo-1.7.2p1-14.el5_8.2.ia64.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.ia64.rpm ppc: sudo-1.7.2p1-14.el5_8.2.ppc.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.ppc.rpm s390x: sudo-1.7.2p1-14.el5_8.2.s390x.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.s390x.rpm x86_64: sudo-1.7.2p1-14.el5_8.2.x86_64.rpm sudo-debuginfo-1.7.2p1-14.el5_8.2.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/#package 7. References: https://www.redhat.com/security/data/cve/CVE-2012-3440.html https://access.redhat.com/security/updates/classification/#moderate https://rhn.redhat.com/errata/RHSA-2012-0309.html 8. Contact: The Red Hat security contact is <secalert@redhat.com>. More contact details at https://access.redhat.com/security/team/contact/ Copyright 2012 Red Hat, Inc. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFQIV18XlSAg2UNWIIRArUrAJ0bm2PNKgJGSC2Yk3Dpab/NJwAL8gCcC2lm N31JTQuqRSRZhGCgiXKUwyg= =rPWG - -----END PGP SIGNATURE----- - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/render.html?cid=1980 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBUCG7re4yVqjM2NGpAQLGeg/5AYLmGF9SAZt30Fn6pBr4otkrNR56YBkb SW3VusOWJHc24/yB0Gf85pV/6u/BJcagJlZdMWRgC1f2SL2DbRM/2dcr4/BhRAc2 IF+tAuOjmWF2Ew/pNdMf1VKIuA/lGvTqsCXG2L6LDy5E3u8s+W9nLd4koXzMH1Wf GdKhEffdAEbIW5pMFi7ZT0xJwgi5smFtacoA/0R1kVB+og3SdnPbZcTEpy08MFkc Y2Eiv9OzYsZFAj2szJxa80aNt8NFud9MPs75xr2JKl/8dh+uI8jAclq3Q5svWoAT OdEE94v4ba9gFkqFiOsGWLkvgkZLSST3GbmgFaNayPHwWNGDA0RDMaiq+jJELPOZ oAw/IXfaHNGyi81POhCgc3msFS16h1dkuz2u8J0Epbx9sgkmVW+r1RNe126SO2W6 qi6a4f4/x3PW3hF9g9iNHFqH2bOWsUhtpv8XqIyud9R4H0mkCSqvOJZtN2MTI3+H KzlVZ0C81gGDfLLm0ym+jpRUvDgEH97AGuS8iinD5mi3HzeyX0tqUkYFpmfLnP5y WMuNNcMvrVyWcp09n86AGkzNftjj/6QZHPln5k67AKXRdq0gZzM7it0PWZzyK7Mn AdM2QKyYrtqMHnVwLx3NCBmRi/BJggDJItFF1BUkSAnIgpwjauSmCk+ybSe6bV06 FZt3TluWCss= =N2EW -----END PGP SIGNATURE-----