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

Medium Nessus Plugin ID 20127


The remote Mandrake Linux host is missing a security update.


Tavis Ormandy discovered that sudo does not perform sufficient environment cleaning; in particular the SHELLOPTS and PS4 variables are still passed to the program running as an alternate user which can result in the execution of arbitrary commands as the alternate user when a bash script is executed.

The updated packages have been patched to correct this problem.


Update the affected sudo package.

Plugin Details

Severity: Medium

ID: 20127

File Name: mandrake_MDKSA-2005-201.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2005/11/02

Modified: 2013/05/31

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

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

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: 2005/10/27

Reference Information

CVE: CVE-2005-2959

MDKSA: 2005:201