SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Sudo Vendors:   sudo.ws
(Red Hat Issues Fix) Sudo get_process_ttyname() Command Validation Flaw Lets Local Users Obtain Root Privileges
SecurityTracker Alert ID:  1038766
SecurityTracker URL:  http://securitytracker.com/id/1038766
CVE Reference:   CVE-2017-1000367, CVE-2017-1000368   (Links to External Site)
Date:  Jun 22 2017
Impact:   Modification of system information, Modification of user information, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.8.6p7 through 1.8.20
Description:   A vulnerability was reported in Sudo. A local user can obtain root privileges on the target system.

A local user can issue a specially crafted sudo command to trigger a command validation flaw in the get_process_ttyname() process and cause the system to recognize the user's tty as an arbitrary file on the target system. A local user can exploit this to overwrite arbitrary files on the target system.

Systems with SELinux enabled and with sudo built with SELinux support are affected.

Qualys, Inc. reported this vulnerability.

Impact:   A local user can overwrite arbitrary files with root privileges on the target system.
Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

https://access.redhat.com/errata/RHSA-2017:1574

Vendor URL:  access.redhat.com/errata/RHSA-2017:1574 (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5, 6, 7

Message History:   This archive entry is a follow-up to the message listed below.
May 30 2017 Sudo get_process_ttyname() Command Validation Flaw Lets Local Users Obtain Root Privileges



 Source Message Contents

Subject:  [RHSA-2017:1574-01] Moderate: sudo security update

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

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

Synopsis:          Moderate: sudo security update
Advisory ID:       RHSA-2017:1574-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:1574
Issue date:        2017-06-22
CVE Names:         CVE-2017-1000368 
=====================================================================

1. Summary:

An update for sudo is now available for Red Hat Enterprise Linux 5 Extended
Lifecycle Support, Red Hat Enterprise Linux 6, and Red Hat Enterprise Linux
7.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
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. 5 ELS) - i386, s390x, x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

The sudo packages contain the sudo utility which allows system
administrators to provide certain users with the permission to execute
privileged commands, which are used for system management purposes, without
having to log in as root.

Security Fix(es):

* It was found that the original fix for CVE-2017-1000367 was incomplete. A
flaw was found in the way sudo parsed tty information from the process
status file in the proc filesystem. A local user with privileges to execute
commands via sudo could use this flaw to escalate their privileges to root.
(CVE-2017-1000368)

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

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

1459152 - CVE-2017-1000368 sudo: Privilege escalation via improper get_process_ttyname() parsing (insufficient fix for CVE-2017-1000367)

6. Package List:

Red Hat Enterprise Linux Server (v. 5 ELS):

Source:
sudo-1.7.2p1-31.el5_11.src.rpm

i386:
sudo-1.7.2p1-31.el5_11.i386.rpm
sudo-debuginfo-1.7.2p1-31.el5_11.i386.rpm

s390x:
sudo-1.7.2p1-31.el5_11.s390x.rpm
sudo-debuginfo-1.7.2p1-31.el5_11.s390x.rpm

x86_64:
sudo-1.7.2p1-31.el5_11.x86_64.rpm
sudo-debuginfo-1.7.2p1-31.el5_11.x86_64.rpm

Red Hat Enterprise Linux Desktop (v. 6):

Source:
sudo-1.8.6p3-29.el6_9.src.rpm

i386:
sudo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm

x86_64:
sudo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm

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

i386:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm

x86_64:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.x86_64.rpm

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

Source:
sudo-1.8.6p3-29.el6_9.src.rpm

x86_64:
sudo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm

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

x86_64:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
sudo-1.8.6p3-29.el6_9.src.rpm

i386:
sudo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm

ppc64:
sudo-1.8.6p3-29.el6_9.ppc64.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.ppc64.rpm

s390x:
sudo-1.8.6p3-29.el6_9.s390x.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.s390x.rpm

x86_64:
sudo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm

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

i386:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm

ppc64:
sudo-debuginfo-1.8.6p3-29.el6_9.ppc.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.ppc64.rpm
sudo-devel-1.8.6p3-29.el6_9.ppc.rpm
sudo-devel-1.8.6p3-29.el6_9.ppc64.rpm

s390x:
sudo-debuginfo-1.8.6p3-29.el6_9.s390.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.s390x.rpm
sudo-devel-1.8.6p3-29.el6_9.s390.rpm
sudo-devel-1.8.6p3-29.el6_9.s390x.rpm

x86_64:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
sudo-1.8.6p3-29.el6_9.src.rpm

i386:
sudo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm

x86_64:
sudo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm

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

i386:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm

x86_64:
sudo-debuginfo-1.8.6p3-29.el6_9.i686.rpm
sudo-debuginfo-1.8.6p3-29.el6_9.x86_64.rpm
sudo-devel-1.8.6p3-29.el6_9.i686.rpm
sudo-devel-1.8.6p3-29.el6_9.x86_64.rpm

Red Hat Enterprise Linux Client (v. 7):

Source:
sudo-1.8.6p7-23.el7_3.src.rpm

x86_64:
sudo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
sudo-debuginfo-1.8.6p7-23.el7_3.i686.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-devel-1.8.6p7-23.el7_3.i686.rpm
sudo-devel-1.8.6p7-23.el7_3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
sudo-1.8.6p7-23.el7_3.src.rpm

x86_64:
sudo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
sudo-debuginfo-1.8.6p7-23.el7_3.i686.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-devel-1.8.6p7-23.el7_3.i686.rpm
sudo-devel-1.8.6p7-23.el7_3.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
sudo-1.8.6p7-23.el7_3.src.rpm

aarch64:
sudo-1.8.6p7-23.el7_3.aarch64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.aarch64.rpm

ppc64:
sudo-1.8.6p7-23.el7_3.ppc64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.ppc64.rpm

ppc64le:
sudo-1.8.6p7-23.el7_3.ppc64le.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.ppc64le.rpm

s390x:
sudo-1.8.6p7-23.el7_3.s390x.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.s390x.rpm

x86_64:
sudo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm

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

aarch64:
sudo-debuginfo-1.8.6p7-23.el7_3.aarch64.rpm
sudo-devel-1.8.6p7-23.el7_3.aarch64.rpm

ppc64:
sudo-debuginfo-1.8.6p7-23.el7_3.ppc.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.ppc64.rpm
sudo-devel-1.8.6p7-23.el7_3.ppc.rpm
sudo-devel-1.8.6p7-23.el7_3.ppc64.rpm

ppc64le:
sudo-debuginfo-1.8.6p7-23.el7_3.ppc64le.rpm
sudo-devel-1.8.6p7-23.el7_3.ppc64le.rpm

s390x:
sudo-debuginfo-1.8.6p7-23.el7_3.s390.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.s390x.rpm
sudo-devel-1.8.6p7-23.el7_3.s390.rpm
sudo-devel-1.8.6p7-23.el7_3.s390x.rpm

x86_64:
sudo-debuginfo-1.8.6p7-23.el7_3.i686.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-devel-1.8.6p7-23.el7_3.i686.rpm
sudo-devel-1.8.6p7-23.el7_3.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
sudo-1.8.6p7-23.el7_3.src.rpm

x86_64:
sudo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm

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

x86_64:
sudo-debuginfo-1.8.6p7-23.el7_3.i686.rpm
sudo-debuginfo-1.8.6p7-23.el7_3.x86_64.rpm
sudo-devel-1.8.6p7-23.el7_3.i686.rpm
sudo-devel-1.8.6p7-23.el7_3.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/

7. References:

https://access.redhat.com/security/cve/CVE-2017-1000368
https://access.redhat.com/security/updates/classification/#moderate
https://www.sudo.ws/alerts/linux_tty.html

8. Contact:

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

Copyright 2017 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFZTB5/XlSAg2UNWIIRApZVAJ9xprH1xpaIjBXxSiIkna0/U9SkfQCgr/dZ
9FnAGydg/V9yEOUuBKpt5lA=
=q66n
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2017, SecurityGlobal.net LLC