Secunia Logo
Netsikker nu! 2008
 
Sudo Environment Cleaning Privilege Escalation Vulnerability
Secunia Advisory: SA17318
Release Date: 2005-10-25
Last Update: 2005-10-31
Popularity: 9,489 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:Sudo 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2959


Description:
Tavis Ormandy has reported a vulnerability in Sudo, which can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to an error within the environment cleaning. This can be exploited by a user with sudo access to a bash script to execute arbitrary commands via the "SHELLOPTS" and "PS4" environment variables.

This is related to:
SA13199

The vulnerability has been reported in versions prior to 1.6.8p10.

Solution:
Update to version 1.6.8p10 or later.
http://www.sudo.ws/sudo/download.html

Provided and/or discovered by:
Tavis Ormandy

Changelog:
2005-10-31: Updated "Solution" and "Description" sections, and added link to original advisory.

Original Advisory:
Sudo:
http://www.sudo.ws/sudo/alerts/bash_env.html

Debian:
http://www.debian.org/security/2005/dsa-870

Other References:
SA13199:
http://secunia.com/advisories/13199/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 271 views
Debian update for php5
Moderately // 201 views
Atarone CMS Multiple Vulnerabilities
Moderately // 231 views
Debian update for squid
Less // 238 views
SUSE update for mercurial
Moderately // 277 views
SUSE update for openssh
Less // 220 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Zeroboard Two Vulnerabilities // 69 views
2. Zeroboard Multiple Vulnerabilities // 63 views
3. Debian update for php5 // 50 views
4. Atarone CMS Multiple Vulnerabilities // 37 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 35 views
6. Debian update for squid // 32 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 31 views
8. CMME Information Disclosure Security Issues // 30 views
9. SUSE update for mercurial // 29 views
10. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 28 views