Mandrake Linux Security Advisory : sudo (MDKSA-2005:234)

high Nessus Plugin ID 20465

Synopsis

The remote Mandrake Linux host is missing a security update.

Description

Charles Morris discovered a vulnerability in sudo versions prior to 1.6.8p12 where, when the perl taint flag is off, sudo does not clear the PERLLIB, PERL5LIB, and PERL5OPT environment variables, which could allow limited local users to cause a perl script to include and execute arbitrary library files that have the same name as library files that included by the script.

In addition, other environment variables have been included in the patch that remove similar environment variables that could be used in python and ruby, scripts, among others.

The updated packages have been patched to correct this problem.

Solution

Update the affected sudo package.

See Also

https://www.sudo.ws/sudo/alerts/perl_env.html

Plugin Details

Severity: High

ID: 20465

File Name: mandrake_MDKSA-2005-234.nasl

Version: 1.17

Type: local

Published: 1/15/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:sudo, cpe:/o:mandrakesoft:mandrake_linux:10.1, cpe:/o:mandriva:linux:2006, x-cpe:/o:mandrakesoft:mandrake_linux:le2005

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

Patch Publication Date: 12/20/2005

Reference Information

CVE: CVE-2005-4158, CVE-2006-0151

MDKSA: 2005:234