Mandriva Linux Security Advisory : sudo (MDVSA-2013:054)

high Nessus Plugin ID 66068
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Mandriva Linux host is missing one or more security updates.

Description

Multiple vulnerabilities has been found and corrected in sudo :

A flaw exists in the IP network matching code in sudo versions 1.6.9p3 through 1.8.4p4 that may result in the local host being matched even though it is not actually part of the network described by the IP address and associated netmask listed in the sudoers file or in LDAP.
As a result, users authorized to run commands on certain IP networks may be able to run commands on hosts that belong to other networks not explicitly listed in sudoers (CVE-2012-2337).

sudo 1.6.0 through 1.7.10p6 and sudo 1.8.0 through 1.8.6p6 allows local users or physically-proximate attackers to bypass intended time restrictions and retain privileges without re-authenticating by setting the system clock and sudo user timestamp to the epoch (CVE-2013-1775).

Sudo before 1.8.6p7 allows a malicious user to run commands via sudo without authenticating, so long as there exists a terminal the user has access to where a sudo command was successfully run by that same user within the password timeout period (usually five minutes) (CVE-2013-1776).

The updated packages have been patched to correct these issues.

Solution

Update the affected sudo and / or sudo-devel packages.

See Also

http://www.sudo.ws/sudo/alerts/epoch_ticket.html

http://www.sudo.ws/sudo/alerts/netmask.html

http://www.sudo.ws/sudo/alerts/tty_tickets.html

Plugin Details

Severity: High

ID: 66068

File Name: mandriva_MDVSA-2013-054.nasl

Version: 1.12

Type: local

Published: 4/20/2013

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Critical

Score: 9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:sudo, p-cpe:/a:mandriva:linux:sudo-devel, cpe:/o:mandriva:business_server:1

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/5/2013

Exploitable With

CANVAS (CANVAS)

Metasploit (Mac OS X Sudo Password Bypass)

Reference Information

CVE: CVE-2012-2337, CVE-2013-1775, CVE-2013-1776

BID: 53569, 58203, 58207

MDVSA: 2013:054