| |||||||||||||
| Test ID: | 1.3.6.1.4.1.25623.1.0.56531 |
| Category: | Debian Local Security Checks |
| Title: | Debian Security Advisory DSA 946-2 (sudo) |
| Summary: | Debian Security Advisory DSA 946-2 (sudo) |
| Description: | The remote host is missing an update to sudo announced via advisory DSA 946-2. 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 allowed 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 privileges to specific users, passes several environment variables to the program that runs with elevated privileges. 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. Solution: http://www.securityspace.com/smysecure/catid.html?in=DSA%20946-2 |
| Cross-Ref: |
Common Vulnerability Exposure (CVE) ID: CVE-2005-4158 Debian Security Information: DSA-946 (Google Search) http://www.debian.org/security/2006/dsa-946 http://www.mandriva.com/security/advisories?name=MDKSA-2005:234 http://www.mandriva.com/security/advisories?name=MDKSA-2006:159 SuSE Security Announcement: SUSE-SR:2006:002 (Google Search) http://www.novell.com/linux/security/advisories/2006_02_sr.html http://www.trustix.org/errata/2006/0002/ http://lists.ubuntu.com/archives/ubuntu-security-announce/2006-January/000266.html BugTraq ID: 15394 http://www.securityfocus.com/bid/15394 http://www.vupen.com/english/advisories/2005/2386 http://securitytracker.com/alerts/2005/Nov/1015192.html http://secunia.com/advisories/17534/ http://secunia.com/advisories/18156 http://secunia.com/advisories/18308 http://secunia.com/advisories/18549 http://secunia.com/advisories/18102 http://secunia.com/advisories/18558 http://secunia.com/advisories/18463 http://secunia.com/advisories/21692 XForce ISS Database: sudo-perl-execute-code(23102) http://xforce.iss.net/xforce/xfdb/23102 Common Vulnerability Exposure (CVE) ID: CVE-2006-0151 http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.421822 http://www.trustix.org/errata/2006/0010 http://www.ubuntulinux.org/support/documentation/usn/usn-235-2 BugTraq ID: 16184 http://www.securityfocus.com/bid/16184 http://secunia.com/advisories/18358 http://secunia.com/advisories/18363 http://secunia.com/advisories/18906 http://secunia.com/advisories/19016 |
| Copyright | Copyright (c) 2006 E-Soft Inc. http://www.securityspace.com |
| This is only one of 32582 vulnerability tests in our test suite. Find out more about running a complete security audit. To run a free test of this vulnerability against your system, register below. |
|