-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.1364
                   Low: sudo security and bug fix update
                              1 October 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           sudo
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 5
                   Red Hat Enterprise Linux WS/Desktop 5
Impact/Access:     Root Compromise -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-2776 CVE-2013-1776 CVE-2013-1775

Reference:         ESB-2013.0355

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-1353.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Low: sudo security and bug fix update
Advisory ID:       RHSA-2013:1353-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-1353.html
Issue date:        2013-09-30
CVE Names:         CVE-2013-1775 CVE-2013-1776 CVE-2013-2776 
=====================================================================

1. Summary:

An updated sudo package that fixes multiple security issues and several
bugs is now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links 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.

A flaw was found in the way sudo handled time stamp files. An attacker able
to run code as a local user and with the ability to control the system
clock could possibly gain additional privileges by running commands that
the victim user was allowed to run via sudo, without knowing the victim's
password. (CVE-2013-1775)

It was found that sudo did not properly validate the controlling terminal
device when the tty_tickets option was enabled in the /etc/sudoers file. An
attacker able to run code as a local user could possibly gain additional
privileges by running commands that the victim user was allowed to run via
sudo, without knowing the victim's password. (CVE-2013-1776, CVE-2013-2776)

This update also fixes the following bugs:

* Due to a bug in the cycle detection algorithm of the visudo utility,
visudo incorrectly evaluated certain alias definitions in the /etc/sudoers
file as cycles. Consequently, a warning message about undefined aliases
appeared. This bug has been fixed, /etc/sudoers is now parsed correctly by
visudo and the warning message no longer appears. (BZ#849679)

* Previously, the 'sudo -l' command did not parse the /etc/sudoers file
correctly if it contained an Active Directory (AD) group. The file was
parsed only up to the first AD group information and then the parsing
failed with the following message:

    sudo: unable to cache group ADDOM\admingroup, already exists

With this update, the underlying code has been modified and 'sudo -l' now
parses /etc/sudoers containing AD groups correctly. (BZ#855836)

* Previously, the sudo utility did not escape the backslash characters
contained in user names properly. Consequently, if a system used sudo
integrated with LDAP or Active Directory (AD) as the primary authentication
mechanism, users were not able to authenticate on that system. With this
update, sudo has been modified to process LDAP and AD names correctly and
the authentication process now works as expected. (BZ#869287)

* Prior to this update, the 'visudo -s (strict)' command incorrectly parsed
certain alias definitions. Consequently, an error message was issued. The
bug has been fixed, and parsing errors no longer occur when using 'visudo
- - -s'. (BZ#905624)

All sudo users 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/site/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

853203 - Sudo -i isn't passing command arguments containing spaces properly as of sudo-1.7.2p1-14.el5_8.3
856902 - Defauts:!<user> syntax in sudoers doesn't seem to work as expected
916363 - CVE-2013-1775 sudo: authentication bypass via reset system clock
916365 - CVE-2013-1776 sudo: bypass of tty_tickets constraints
949751 - CVE-2013-2776 sudo: bypass of tty_tickets constraints

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-28.el5.src.rpm

i386:
sudo-1.7.2p1-28.el5.i386.rpm
sudo-debuginfo-1.7.2p1-28.el5.i386.rpm

x86_64:
sudo-1.7.2p1-28.el5.x86_64.rpm
sudo-debuginfo-1.7.2p1-28.el5.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-28.el5.src.rpm

i386:
sudo-1.7.2p1-28.el5.i386.rpm
sudo-debuginfo-1.7.2p1-28.el5.i386.rpm

ia64:
sudo-1.7.2p1-28.el5.ia64.rpm
sudo-debuginfo-1.7.2p1-28.el5.ia64.rpm

ppc:
sudo-1.7.2p1-28.el5.ppc.rpm
sudo-debuginfo-1.7.2p1-28.el5.ppc.rpm

s390x:
sudo-1.7.2p1-28.el5.s390x.rpm
sudo-debuginfo-1.7.2p1-28.el5.s390x.rpm

x86_64:
sudo-1.7.2p1-28.el5.x86_64.rpm
sudo-debuginfo-1.7.2p1-28.el5.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-2013-1775.html
https://www.redhat.com/security/data/cve/CVE-2013-1776.html
https://www.redhat.com/security/data/cve/CVE-2013-2776.html
https://access.redhat.com/security/updates/classification/#low

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFSSguTXlSAg2UNWIIRAtwlAKCLKk70m9/uWyLEIm1+g318CaucUACfa0Rb
YYD4VZy8KV2MT9Qt974bDHg=
=BMck
- -----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

iQIVAwUBUkpJgxLndAQH1ShLAQLekg/9Eca3tzriGI6rSLzAAwXNeaBdhjarlZsY
G4OgwWQCU79C1S5ksC6z4b3KlzU2Y/ltQiNk7LFombG41re6PcG1XC4gR9m7fSbx
rUGADyzl/naQNAL5jrzNl1kqnFVGYIXI+/d/r9WTKLxv8WPpaX2jnr6BpyPjiGSA
tFAjEmfsHDtfwKxim9EPt8u+d9AgpTzYhycvmdi/Bm3BIXUq6FTPlZa1y47zXZ3h
aHB//BT0zDFsbtmiNoLjrDQprT7km0tSTLdJONkggz3+pwuMlEezIhFJy5QLpcxR
jyGE2HD6SSAMVJISDW+pKOywkSU5GSFm0PZ/XCWnB3aSkFamdv50geij8IkG1pGg
TBYtZi3O0UxwRBEnJJvuv/PzGVsqwgPumLbqpjuqXh7TgYmLdgyB4dj5q/ZKdArt
ao5UWZMiF5icJhpO+FcM0gVPPJgJcp1lVMIrJ4nTWPUcsJL9W87mB4vB0y6De0uS
zHirfarshacx3Q59sP5/BqToHAHYTLuW2WyXu/3x6YMCG9w92NRziI/At95k1ay1
KdLriZ9g+4XIKfxg8tpbZbQtrMStZASnT6V9Q0kpJPl3xnHZ2xmwBrI+48uESr4G
b5nO8wKR+ctc3TSmhff60khIc96adxkcoXfRkhneFm13kuTsZItPpw5lMS8Jb4io
y0TdVGc2wMk=
=AW/1
-----END PGP SIGNATURE-----