Secunia Logo
Netsikker nu! 2008
 
Sudo Python Environment Cleaning Privilege Escalation Vulnerability
Secunia Advisory: SA18358
Release Date: 2006-01-09
Last Update: 2006-01-20
Popularity: 9,977 views

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

Software:Sudo 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0151


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 python script to gain access to an interactive python prompt via the "PYTHONINSPECT" environment variable.

The vulnerability is related to:
SA17318

Solution:
Clean untrusted environment variables using the "env_reset" or "env_delete" directive in the sudoer's file.

Provided and/or discovered by:
Tavis Ormandy

Changelog:
2005-01-20: Added CVE reference.

Original Advisory:
http://www.ubuntulinux.org/usn/usn-235-2

Other References:
SA17318:
http://secunia.com/advisories/17318/


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

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 386 views
Debian update for php5
Moderately // 312 views
Atarone CMS Multiple Vulnerabilities
Moderately // 339 views
Debian update for squid
Less // 335 views
SUSE update for mercurial
Moderately // 384 views
SUSE update for openssh
Less // 313 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. ArticleBeach Script "page" File Inclusion Vulnerability // 75 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 58 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 53 views
4. phpBB Two Security Bypass Vulnerabilities // 45 views
5. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 28 views
6. MetaGauge Directory Traversal Vulnerability // 27 views
7. Debian update for php5 // 26 views
8. Atarone CMS Multiple Vulnerabilities // 25 views
9. SUSE update for dovecot and graphicsmagic // 25 views
10. HP-UX NFS/ONCplus Denial of Service Vulnerability // 24 views