Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Debian Local Security Checks >> [DSA946] DSA-946-2 sudo


Vulnerability Assessment Details

[DSA946] DSA-946-2 sudo

Vulnerability Assessment Summary
DSA-946-2 sudo

Detailed Explanation for this Vulnerability Assessment

The former correction to vulnerabilities in the sudo package worked
fine but were too strict for some environments. Therefore we have
reviewed the changes again and permited some environment variables to
go back into the privileged execution environment. Hence, this
update.
The configuration option "env_reset" is now activated by default.
It will preserve only the environment variables HOME, LOGNAME, PATH,
SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION, LANG, LANGUAGE,
LC_*, and USER in addition to the separate SUDO_* variables.
For completeness please find below the original advisory text:
It has been discovered that sudo, a privileged program, that provides
limited super user rights to specific users, passes several
environment variables to the program that runs with elevated
rights. In the case of include paths (e.g. for Perl, Python, Ruby
or other scripting languages) this can cause arbitrary code to be
executed as privileged user if the attacker points to a manipulated
version of a system library.
This update alters the former behaviour of sudo and limits the number
of supported environment variables to LC_*, LANG, LANGUAGE and TERM.
Additional variables are only passed through when set as env_check in
/etc/sudoers, which might be required for some scripts to continue to
work.
For the old stable distribution (woody) this problem has been fixed in
version 1.6.6-1.6.
For the stable distribution (sarge) this problem has been fixed in
version 1.6.8p7-1.4.
For the unstable distribution (sid) the same behaviour will be
implemented soon.
We recommend that you upgrade your sudo package. For unstable
"Defaults = env_reset" need to be added to /etc/sudoers manually.


Solution : http://www.debian.org/security/2006/dsa-946
Network Security Threat Level: High

Networks Security ID: 16184

Vulnerability Assessment Copyright: This script is (C) 2006 Michel Arboi

Cables, Connectors

DEC Compaq DS-KZPCC-XE 29-34655-01 3-Channel LVD PCI Raid Controller w/ Battery
$650.0
DEC Compaq DS-KZPCC-XE 29-34655-01 3-Channel LVD PCI Raid Controller w/ Battery pictureLacie 5Big 10TB Thunderbolt 5-Bay RAID Array
$500.0
Lacie 5Big 10TB Thunderbolt 5-Bay RAID Array pictureBUFFALO LS-W1.0TGL/R1 LinkStation Pro Duo Network Storage RAID
$59.99
BUFFALO LS-W1.0TGL/R1 LinkStation Pro Duo Network Storage RAID  picture4 Drive External Hardware RAID 5 - OWC Elite Pro Qx2 RAID 5 - FireWire/USB/eSATA
$0.99
4 Drive External Hardware RAID 5 - OWC Elite Pro Qx2 RAID 5 - FireWire/USB/eSATA picture


Discussions

No Discussions have been posted on this vulnerability.