CentOS 5 : sudo (CESA-2010:0122)

Medium Nessus Plugin ID 44949

Synopsis

The remote CentOS host is missing a security update.

Description

An updated sudo package that fixes two security issues is now available for Red Hat Enterprise Linux 5.

This update has been rated as having important security impact by the Red Hat Security Response Team.

The sudo (superuser do) utility allows system administrators to give certain users the ability to run commands as root.

A privilege escalation flaw was found in the way sudo handled the sudoedit pseudo-command. If a local user were authorized by the sudoers file to use this pseudo-command, they could possibly leverage this flaw to execute arbitrary code with the privileges of the root user. (CVE-2010-0426)

The sudo utility did not properly initialize supplementary groups when the 'runas_default' option (in the sudoers file) was used. If a local user were authorized by the sudoers file to perform their sudo commands under the account specified with 'runas_default', they would receive the root user's supplementary groups instead of those of the intended target user, giving them unintended privileges.
(CVE-2010-0427)

Users of sudo should upgrade to this updated package, which contains backported patches to correct these issues.

Solution

Update the affected sudo package.

See Also

http://www.nessus.org/u?8cc2ec24

http://www.nessus.org/u?0c3bd296

Plugin Details

Severity: Medium

ID: 44949

File Name: centos_RHSA-2010-0122.nasl

Version: 1.15

Type: local

Agent: unix

Published: 2010/03/02

Updated: 2019/10/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.9

Temporal Score: 5.7

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:centos:centos:sudo, cpe:/o:centos:centos:5

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2010/03/01

Vulnerability Publication Date: 2010/02/24

Exploitable With

Core Impact

Reference Information

CVE: CVE-2010-0426, CVE-2010-0427

BID: 38362

RHSA: 2010:0122

CWE: 264