Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
Linux Compatible
advertisement


GLSA 200810-02 Portage: Untrusted search path local root vulnerability
Posted by Bob on: 2008-10-09 20:00:02 [ Print | Permalink ]

A new security update has been released for Gentoo Linux - Portage: Untrusted search path local root vulnerability. Here the announcement:

"Gentoo Linux Security Advisory GLSA 200810-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Portage: Untrusted search path local root vulnerability
Date: October 09, 2008
Bugs: #239560
ID: 200810-02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A search path vulnerability in Portage allows local attackers to
execute commands with root privileges if emerge is called from
untrusted directories.

Background
==========

Portage is Gentoo's package manager which is responsible for
installing, compiling and updating all packages on the system through
the Gentoo rsync tree.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-apps/portage < 2.1.4.5 >= 2.1.4.5

Description
===========

The Gentoo Security Team discovered that several ebuilds, such as
sys-apps/portage, net-mail/fetchmail or app-editors/leo execute Python
code using "python -c", which includes the current working directory in
Python's module search path. For several ebuild functions, Portage did
not change the working directory from emerge's working directory.

Impact
======

A local attacker could place a specially crafted Python module in a
directory (such as /tmp) and entice the root user to run commands such
as "emerge sys-apps/portage" from that directory, resulting in the
execution of arbitrary Python code with root privileges.

Workaround
==========

Do not run "emerge" from untrusted working directories.

Resolution
==========

All Portage users should upgrade to the latest version:

# cd /root
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/portage-2.1.4.5"

NOTE: To upgrade to Portage 2.1.4.5 using 2.1.4.4 or prior, you must
run emerge from a trusted working directory, such as "/root".

References
==========

[ 1 ] CVE-2008-4394
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4394

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200810-02.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5
"

Digg it! Slashdot Del.icio.us Technorati Fark it! Binklist Furl Newsvine Windows Live Netscape Google Bookmarks Reddit! LinkaGoGo Tailrank Wink Dzone Simpy Spurl Yahoo! MyWeb NetVouz RawSugar Smarking Scuttle Magnolia BlogMarks Nowpublic FeedMeLinks Wists Onlywire Connotia Shadows Co.mments
News Source: Gentoo

Related Stories RSS

- GLSA 200812-03 IPsec-Tools: racoon Denial of Service (12/02/2008 07:20 pm)
- GLSA 200812-07 Mantis: Multiple vulnerabilities (12/02/2008 07:15 pm)
- GLSA 200812-06 libxml2: Multiple vulnerabilities (12/02/2008 07:10 pm)
- GLSA 200812-05 libsamplerate: User-assisted execution of arbitrary code (12/02/2008 07:05 pm)
- GLSA 200812-04 lighttpd: Multiple vulnerabilities (12/02/2008 06:55 pm)
- GLSA 200812-02 enscript: User-assisted execution of arbitrary code (12/02/2008 06:45 pm)
- GLSA 200812-01 OptiPNG: User-assisted execution of arbitrary code (12/02/2008 06:40 pm)
- GLSA 200811-05 PHP: Multiple vulnerabilities (11/16/2008 05:15 pm)
- GLSA 200811-04 Graphviz: User-assisted execution of arbitrary code (11/09/2008 10:15 pm)
- GLSA 200811-03 FAAD2: User-assisted execution of arbitrary code (11/09/2008 10:10 pm)
- GLSA 200811-02 Gallery: Multiple vulnerabilities (11/09/2008 10:05 pm)
- GLSA 200811-01 Opera: Multiple vulnerabilities (11/03/2008 08:05 pm)
- GLSA 200810-03 libspf2: DNS response buffer overflow (10/30/2008 11:25 pm)
- GLSA 200810-01 WordNet: Execution of arbitrary code (10/09/2008 08:10 pm)
- GLSA 200809-18 ClamAV: Multiple Denials of Service (09/25/2008 11:30 pm)
- GLSA 200809-17 Wireshark: Multiple Denials of Service (09/25/2008 11:20 pm)
- GLSA 200809-16 Git: User-assisted execution of arbitrary code (09/25/2008 11:15 pm)
- GLSA 200809-15 GNU ed: User-assisted execution of arbitrary code (09/24/2008 12:05 am)
- GLSA 200809-14 BitlBee: Security bypass (09/23/2008 11:40 pm)
- GLSA 200809-13 R: Insecure temporary file creation (09/22/2008 10:20 pm)

Related Threads RSS

- [gentoo-announce] [ GLSA 200812-07 ] Mantis: Multiple vulnerabilities (12/02/2008 07:21 pm)
- [gentoo-announce] [ GLSA 200812-03 ] IPsec-Tools: racoon Denial of Service (12/02/2008 07:21 pm)
- [gentoo-announce] [ GLSA 200812-06 ] libxml2: Multiple vulnerabilities (12/02/2008 07:14 pm)
- [gentoo-announce] [ GLSA 200812-05 ] libsamplerate: User-assisted execution of arbitrary code (12/02/2008 07:07 pm)
- [gentoo-announce] [ GLSA 200812-04 ] lighttpd: Multiple vulnerabilities (12/02/2008 07:00 pm)
- [gentoo-announce] [ GLSA 200812-01 ] OptiPNG: User-assisted execution of arbitrary code (12/02/2008 06:42 pm)
- [gentoo-announce] [ GLSA 200812-02 ] enscript: User-assisted execution of arbitrary code (12/02/2008 06:42 pm)
- [gentoo-announce] [ GLSA 200811-05 ] PHP: Multiple vulnerabilities (11/16/2008 05:21 pm)
- [gentoo-announce] [ GLSA 200811-04 ] Graphviz: User-assisted execution of arbitrary code (11/09/2008 10:21 pm)
- [gentoo-announce] [ GLSA 200811-02 ] Gallery: Multiple vulnerabilities (11/09/2008 10:07 pm)
- [gentoo-announce] [ GLSA 200811-01 ] Opera: Multiple vulnerabilities (11/03/2008 08:07 pm)
- [gentoo-announce] [ GLSA 200810-03 ] libspf2: DNS response buffer overflow (10/30/2008 11:21 pm)
- [gentoo-announce] [ GLSA 200810-01 ] WordNet: Execution of arbitrary code (10/09/2008 08:14 pm)
- [gentoo-announce] [ GLSA 200810-02 ] Portage: Untrusted search path local root vulnerability (10/09/2008 08:00 pm)
- [gentoo-announce] [ GLSA 200809-18 ] ClamAV: Multiple Denials of Service (09/25/2008 11:28 pm)
- [gentoo-announce] [ GLSA 200809-17 ] Wireshark: Multiple Denials of Service (09/25/2008 11:21 pm)
- [gentoo-announce] [ GLSA 200809-16 ] Git: User-assisted execution of arbitrary code (09/25/2008 11:14 pm)
- [gentoo-announce] [ GLSA 200809-15 ] GNU ed: User-assisted execution of arbitrary code (09/24/2008 12:00 am)
- [gentoo-announce] [ GLSA 200809-14 ] BitlBee: Security bypass (09/23/2008 11:42 pm)
- [gentoo-announce] [ GLSA 200809-13 ] R: Insecure temporary file creation (09/22/2008 10:21 pm)

Post New Comment


All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2008 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System