Executive Summary
Summary | |
---|---|
Title | sudo security and bug fix update |
Informations | |||
---|---|---|---|
Name | RHSA-2012:1149 | First vendor Publication | 2012-08-07 |
Vendor | RedHat | Last vendor Modification | 2012-08-07 |
Severity (Vendor) | Moderate | Revision | 01 |
Security-Database Scoring CVSS v3
Cvss vector : N/A | |||
---|---|---|---|
Overall CVSS Score | NA | ||
Base Score | NA | Environmental Score | NA |
impact SubScore | NA | Temporal Score | NA |
Exploitabality Sub Score | NA | ||
Calculate full CVSS 3.0 Vectors scores |
Security-Database Scoring CVSS v2
Cvss vector : (AV:L/AC:H/Au:N/C:N/I:C/A:C) | |||
---|---|---|---|
Cvss Base Score | 5.6 | Attack Range | Local |
Cvss Impact Score | 9.2 | Attack Complexity | High |
Cvss Expoit Score | 1.9 | Authentication | None Required |
Calculate full CVSS 2.0 Vectors scores |
Detail
Problem Description: 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 |
Original Source
Url : https://rhn.redhat.com/errata/RHSA-2012-1149.html |
CWE : Common Weakness Enumeration
% | Id | Name |
---|---|---|
100 % | CWE-59 | Improper Link Resolution Before File Access ('Link Following') |
OVAL Definitions
Definition Id: oval:org.mitre.oval:def:20533 | |||
Oval ID: | oval:org.mitre.oval:def:20533 | ||
Title: | VMware ESX third party update for Service Console package sudo | ||
Description: | A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file. | ||
Family: | unix | Class: | vulnerability |
Reference(s): | CVE-2012-3440 | Version: | 4 |
Platform(s): | VMWare ESX Server 4.0 | Product(s): | |
Definition Synopsis: | |||
|
Definition Id: oval:org.mitre.oval:def:21267 | |||
Oval ID: | oval:org.mitre.oval:def:21267 | ||
Title: | RHSA-2012:1149: sudo security and bug fix update (Moderate) | ||
Description: | A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file. | ||
Family: | unix | Class: | patch |
Reference(s): | RHSA-2012:1149-00 CESA-2012:1149 CVE-2012-3440 | Version: | 4 |
Platform(s): | Red Hat Enterprise Linux 5 CentOS Linux 5 | Product(s): | sudo |
Definition Synopsis: | |||
Definition Id: oval:org.mitre.oval:def:23250 | |||
Oval ID: | oval:org.mitre.oval:def:23250 | ||
Title: | ELSA-2012:1149: sudo security and bug fix update (Moderate) | ||
Description: | A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file. | ||
Family: | unix | Class: | patch |
Reference(s): | ELSA-2012:1149-00 CVE-2012-3440 | Version: | 6 |
Platform(s): | Oracle Linux 5 | Product(s): | sudo |
Definition Synopsis: | |||
Definition Id: oval:org.mitre.oval:def:27534 | |||
Oval ID: | oval:org.mitre.oval:def:27534 | ||
Title: | DEPRECATED: ELSA-2012-1149 -- sudo security and bug fix update (moderate) | ||
Description: | [1.7.2p1-14.2] - added a workaround for a race condition in handling child processes Resolves: rhbz#844978 [1.7.2p1-14.1] - dont remove the sudoers: line from nsswitch.conf on update - use safe temporary file for nsswitch.conf - call restorecon after modifying nsswitch.conf - fixed command escaping - patch: Use SIG_SETMASK when resetting signal mask instead of SIG_UNBLOCK Resolves: rhbz#842759 Resolves: rhbz#844420 Resolves: rhbz#844419 Resolves: rhbz#844418 Resolves: rhbz#844443 | ||
Family: | unix | Class: | patch |
Reference(s): | ELSA-2012-1149 CVE-2012-3440 | Version: | 4 |
Platform(s): | Oracle Linux 5 | Product(s): | sudo |
Definition Synopsis: | |||
CPE : Common Platform Enumeration
Type | Description | Count |
---|---|---|
Application | 1 | |
Os | 1 |
OpenVAS Exploits
Date | Description |
---|---|
2012-08-09 | Name : CentOS Update for sudo CESA-2012:1149 centos5 File : nvt/gb_CESA-2012_1149_sudo_centos5.nasl |
2012-08-09 | Name : RedHat Update for sudo RHSA-2012:1149-01 File : nvt/gb_RHSA-2012_1149-01_sudo.nasl |
Information Assurance Vulnerability Management (IAVM)
Date | Description |
---|---|
2013-06-06 | IAVM : 2013-B-0064 - Multiple Vulnerabilities in VMware ESX 4.0 Severity : Category II - VMSKEY : V0038876 |
Nessus® Vulnerability Scanner
Date | Description |
---|---|
2016-03-04 | Name : The remote VMware ESX / ESXi host is missing a security-related patch. File : vmware_esx_VMSA-2013-0007_remote.nasl - Type : ACT_GATHER_INFO |
2014-11-08 | Name : The remote Red Hat host is missing one or more security updates. File : redhat-RHSA-2012-1185.nasl - Type : ACT_GATHER_INFO |
2013-07-12 | Name : The remote Oracle Linux host is missing a security update. File : oraclelinux_ELSA-2012-1149.nasl - Type : ACT_GATHER_INFO |
2013-05-31 | Name : The remote VMware ESX host is missing a security-related patch. File : vmware_VMSA-2013-0007.nasl - Type : ACT_GATHER_INFO |
2012-08-09 | Name : The remote Scientific Linux host is missing a security update. File : sl_20120808_sudo_on_SL5_x.nasl - Type : ACT_GATHER_INFO |
2012-08-08 | Name : The remote CentOS host is missing a security update. File : centos_RHSA-2012-1149.nasl - Type : ACT_GATHER_INFO |
2012-08-08 | Name : The remote Red Hat host is missing one or more security updates. File : redhat-RHSA-2012-1149.nasl - Type : ACT_GATHER_INFO |
Alert History
Date | Informations |
---|---|
2014-02-17 11:56:14 |
|