exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Red Hat Security Advisory 2013-1701-02

Red Hat Security Advisory 2013-1701-02
Posted Nov 21, 2013
Authored by Red Hat | Site access.redhat.com

Red Hat Security Advisory 2013-1701-02 - The sudo 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. 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.

tags | advisory, local, root
systems | linux, redhat
advisories | CVE-2013-1775, CVE-2013-2776, CVE-2013-2777
SHA-256 | a123845b4cafb94e8438b79697c175656bdf7428c4a06099ba6aeacc46222972

Red Hat Security Advisory 2013-1701-02

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis: Low: sudo security, bug fix and enhancement update
Advisory ID: RHSA-2013:1701-02
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2013-1701.html
Issue date: 2013-11-21
CVE Names: CVE-2013-1775 CVE-2013-2776 CVE-2013-2777
=====================================================================

1. Summary:

An updated sudo package that fixes two security issues, several bugs, and
adds two enhancements is now available for Red Hat Enterprise Linux 6.

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 Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - 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-2776, CVE-2013-2777)

This update also fixes the following bugs:

* Previously, sudo did not support netgroup filtering for sources from the
System Security Services Daemon (SSSD). Consequently, SSSD rules were
applied to all users even when they did not belong to the specified
netgroup. With this update, netgroup filtering for SSSD sources has been
implemented. As a result, rules with a netgroup specification are applied
only to users that are part of the netgroup. (BZ#880150)

* When the sudo utility set up the environment in which it ran a command,
it reset the value of the RLIMIT_NPROC resource limit to the parent's value
of this limit if both the soft (current) and hard (maximum) values of
RLIMIT_NPROC were not limited. An upstream patch has been provided to
address this bug and RLIMIT_NPROC can now be set to "unlimited".
(BZ#947276)

* Due to the refactoring of the sudo code by upstream, the SUDO_USER
variable that stores the name of the user running the sudo command was not
logged to the /var/log/secure file as before. Consequently, user name
"root" was always recorded instead of the real user name. With this update,
the previous behavior of sudo has been restored. As a result, the expected
user name is now written to /var/log/secure. (BZ#973228)

* Due to an error in a loop condition in sudo's rule listing code, a buffer
overflow could have occurred in certain cases. This condition has been
fixed and the buffer overflow no longer occurs. (BZ#994626)

In addition, this update adds the following enhancements:

* With this update, sudo has been modified to send debug messages about
netgroup matching to the debug log. These messages should provide better
understanding of how sudo matches netgroup database records with values
from the running system and what the values are exactly. (BZ#848111)

* With this update, sudo has been modified to accept the ipa_hostname value
from the /etc/sssd/sssd.conf configuration file when matching netgroups.
(BZ#853542)

All sudo users are advised to upgrade to this updated package, which
contains backported patches to correct these issues and add
these enhancements.

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 (https://bugzilla.redhat.com/):

856901 - Defauts:!<user> syntax in sudoers doesn't seem to work as expected
880150 - sssd +netgroup sudoUser is always matched
886648 - Access granted with invalid sudoRunAsUser/sudoRunAsGroup
916363 - CVE-2013-1775 sudo: authentication bypass via reset system clock
949751 - CVE-2013-2776 sudo: bypass of tty_tickets constraints
949753 - CVE-2013-2777 sudo: bypass of tty_tickets constraints
994563 - Warning in visudo: cycle in Host_Alias even without cycle
994626 - sudo -u <user> sudo -l show error: *** glibc detected *** sudo: realloc(): invalid next size: 0x00007f4ae2d10ec0 ***

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm

x86_64:
sudo-1.8.6p3-12.el6.x86_64.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm

x86_64:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

x86_64:
sudo-1.8.6p3-12.el6.x86_64.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

x86_64:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm

ppc64:
sudo-1.8.6p3-12.el6.ppc64.rpm
sudo-debuginfo-1.8.6p3-12.el6.ppc64.rpm

s390x:
sudo-1.8.6p3-12.el6.s390x.rpm
sudo-debuginfo-1.8.6p3-12.el6.s390x.rpm

x86_64:
sudo-1.8.6p3-12.el6.x86_64.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm

ppc64:
sudo-debuginfo-1.8.6p3-12.el6.ppc.rpm
sudo-debuginfo-1.8.6p3-12.el6.ppc64.rpm
sudo-devel-1.8.6p3-12.el6.ppc.rpm
sudo-devel-1.8.6p3-12.el6.ppc64.rpm

s390x:
sudo-debuginfo-1.8.6p3-12.el6.s390.rpm
sudo-debuginfo-1.8.6p3-12.el6.s390x.rpm
sudo-devel-1.8.6p3-12.el6.s390.rpm
sudo-devel-1.8.6p3-12.el6.s390x.rpm

x86_64:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm

x86_64:
sudo-1.8.6p3-12.el6.x86_64.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/sudo-1.8.6p3-12.el6.src.rpm

i386:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm

x86_64:
sudo-debuginfo-1.8.6p3-12.el6.i686.rpm
sudo-debuginfo-1.8.6p3-12.el6.x86_64.rpm
sudo-devel-1.8.6p3-12.el6.i686.rpm
sudo-devel-1.8.6p3-12.el6.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-2776.html
https://www.redhat.com/security/data/cve/CVE-2013-2777.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)

iD8DBQFSjZCHXlSAg2UNWIIRAt3IAJ9vk5ycVQ6pYkHYc7uM6YLFvhsSrgCfVHi+
H0zICoykOf4KltShaykk1Wo=
=z/lR
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close