4.6
CVSSv2

CVE-2005-2959

Published: 25/10/2005 Updated: 03/10/2018
CVSS v2 Base Score: 4.6 | Impact Score: 6.4 | Exploitability Score: 3.9
VMScore: 409
Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

Incomplete blacklist vulnerability in sudo 1.6.8 and previous versions allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

todd miller sudo 1.6.3_p2

todd miller sudo 1.6.3_p3

todd miller sudo 1.6.3_p4

todd miller sudo 1.6.3p4

todd miller sudo 1.6.3p5

todd miller sudo 1.6.4p2

todd miller sudo 1.6.5

todd miller sudo 1.6.8

todd miller sudo 1.6

todd miller sudo 1.6.3_p5

todd miller sudo 1.6.3_p6

todd miller sudo 1.6.3p6

todd miller sudo 1.6.3p7

todd miller sudo 1.6.5_p1

todd miller sudo 1.6.5_p2

todd miller sudo 1.6.1

todd miller sudo 1.6.2

todd miller sudo 1.6.3_p7

todd miller sudo 1.6.3p1

todd miller sudo 1.6.4

todd miller sudo 1.6.4_p1

todd miller sudo 1.6.5p1

todd miller sudo 1.6.5p2

todd miller sudo 1.6.3

todd miller sudo 1.6.3_p1

todd miller sudo 1.6.3p2

todd miller sudo 1.6.3p3

todd miller sudo 1.6.4_p2

todd miller sudo 1.6.4p1

todd miller sudo 1.6.6

todd miller sudo 1.6.7

todd miller sudo 1.6.7_p5

Vendor Advisories

Tavis Ormandy discovered a privilege escalation vulnerability in sudo On executing shell scripts with sudo, the “P4” and “SHELLOPTS” environment variables were not cleaned properly If sudo is set up to grant limited sudo privileges to normal users this could be exploited to run arbitrary commands as the target user ...
Tavis Ormandy noticed that sudo, a program that provides limited super user privileges to specific users, does not clean the environment sufficiently The SHELLOPTS and PS4 variables are dangerous and are still passed through to the program running as privileged user This can result in the execution of arbitrary commands as privileged user when a ...