Ubuntu 6.06 LTS / 8.04 LTS / 8.10 / 9.04 / 9.10 : sudo vulnerabilities (USN-905-1)

medium Nessus Plugin ID 44936

Language:

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

It was discovered that sudo did not properly validate the path for the 'sudoedit' pseudo-command. A local attacker could exploit this to execute arbitrary code as root if sudo was configured to allow the attacker to use sudoedit. The sudoedit pseudo-command is not used in the default installation of Ubuntu. (CVE-2010-0426)

It was discovered that sudo did not reset group permissions when the 'runas_default' configuration option was used. A local attacker could exploit this to escalate group privileges if sudo was configured to allow the attacker to run commands under the runas_default account.
The runas_default configuration option is not used in the default installation of Ubuntu. This issue affected Ubuntu 8.04 LTS, 8.10 and 9.04. (CVE-2010-0427).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

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

See Also

https://usn.ubuntu.com/905-1/

Plugin Details

Severity: Medium

ID: 44936

File Name: ubuntu_USN-905-1.nasl

Version: 1.14

Type: local

Agent: unix

Published: 3/1/2010

Updated: 9/19/2019

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.7

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:9.04, cpe:/o:canonical:ubuntu_linux:9.10, p-cpe:/a:canonical:ubuntu_linux:sudo, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, p-cpe:/a:canonical:ubuntu_linux:sudo-ldap, cpe:/o:canonical:ubuntu_linux:8.10, cpe:/o:canonical:ubuntu_linux:8.04:-:lts

Required KB Items: Host/Ubuntu/release, Host/Debian/dpkg-l, Host/cpu, Host/Ubuntu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/26/2010

Vulnerability Publication Date: 2/24/2010

Exploitable With

Core Impact

Reference Information

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

BID: 38362, 38432

CWE: 264

USN: 905-1