Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 493
Alerts This Week
Warning Icon 1 493

Red Hat Enterprise Linux 5: RHSA-2013:1353-01 Low: Sudo Update Issues

red hat
Calendar Grey September 30, 2013
Dist Redhat Esm H88
Notification regarding the revised sudo module for Red Hat, highlighting security vulnerabilities and minor issues evaluated as low risk. Discover further details.
An updated sudo package that fixes multiple security issues and several bugs is now available for Red Hat Enterprise Linux 5

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

Summary

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/sudoersfile 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 characterscontained 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.

References

https://access.redhat.com/security/cve/CVE-2013-1775 https://access.redhat.com/security/cve/CVE-2013-1776 https://access.redhat.com/security/cve/CVE-2013-2776 https://access.redhat.com/security/updates/classification#low

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
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:
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


Severity
low
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2013:1353-01
Product: Red Hat Enterprise Linux
Issue date: 2013-09-30

Topic

An updated sudo package that fixes multiple security issues and severalbugs is now available for Red Hat Enterprise Linux 5.The Red Hat Security Response Team has rated this update as having lowsecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.

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

Bugs Fixed

853203 - Sudo -i isn't passing command arguments containing spaces properly as of sudo-1.7.2p1-14.el5_8.3

856902 - Defauts:! 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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.