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 200907-02 ModSecurity: Denial of Service (07/02/2009 09:50 pm)
- GLSA 200907-01 libwmf: User-assisted execution of arbitrary code (07/02/2009 09:45 pm)
- GLSA 200906-05 Wireshark: Multiple vulnerabilities (06/30/2009 03:25 pm)
- GLSA 200906-04 Apache Tomcat JK Connector: Information disclosure (06/30/2009 12:55 am)
- GLSA 200906-03 phpMyAdmin: Multiple vulnerabilities (06/30/2009 12:50 am)
- GLSA 200906-02 Ruby: Denial of Service (06/28/2009 11:45 pm)
- GLSA 200906-01 libpng: Information disclosure (06/28/2009 10:30 pm)
- GLSA 200905-09 libsndfile: User-assisted execution of arbitrary code (05/27/2009 08:45 pm)
- GLSA 200905-08 NTP: Remote execution of arbitrary code (05/26/2009 06:15 pm)
- GLSA 200905-07 Pidgin: Multiple vulnerabilities (05/26/2009 01:15 am)
- GLSA 200905-06 acpid: Denial of Service (05/24/2009 08:50 pm)
- GLSA 200905-05 FreeType: Multiple vulnerabilities (05/24/2009 08:10 pm)
- GLSA 200905-04 GnuTLS: Multiple vulnerabilities (05/24/2009 03:40 pm)
- GLSA 200905-03 IPSec Tools: Denial of Service (05/24/2009 03:30 pm)
- GLSA 200905-02 Cscope: User-assisted execution of arbitrary code (05/24/2009 03:10 pm)
- GLSA 200905-01 Asterisk: Multiple vulnerabilities (05/02/2009 08:05 pm)
- GLSA 200904-20 CUPS: Multiple vulnerabilities (04/24/2009 12:00 am)
- GLSA 200904-19 LittleCMS: Multiple vulnerabilities (04/19/2009 05:50 pm)
- GLSA 200904-18 udev: Multiple vulnerabilities (04/18/2009 09:15 pm)
- GLSA 200904-17 Adobe Reader: User-assisted execution of arbitrary code (04/18/2009 01:25 pm)
- GLSA 200904-16 libsndfile: User-assisted execution of arbitrary code (04/17/2009 09:10 pm)

Related Threads RSS

- [gentoo-announce] [ GLSA 200907-02 ] ModSecurity: Denial of Service (07/02/2009 09:49 pm)
- [gentoo-announce] [ GLSA 200907-01 ] libwmf: User-assisted execution of arbitrary code (07/02/2009 09:42 pm)
- [gentoo-announce] [ GLSA 200906-05 ] Wireshark: Multiple vulnerabilities (06/30/2009 03:28 pm)
- [gentoo-announce] [ GLSA 200906-04 ] Apache Tomcat JK Connector: Information disclosure (06/30/2009 12:56 am)
- [gentoo-announce] [ GLSA 200906-03 ] phpMyAdmin: Multiple vulnerabilities (06/30/2009 12:49 am)
- [gentoo-announce] [ GLSA 200906-02 ] Ruby: Denial of Service (06/28/2009 11:42 pm)
- [gentoo-announce] [ GLSA 200906-01 ] libpng: Information disclosure (06/28/2009 10:35 pm)
- [gentoo-announce] [ GLSA 200905-09 ] libsndfile: User-assisted execution of arbitrary code (05/27/2009 08:49 pm)
- [gentoo-announce] [ GLSA 200905-08 ] NTP: Remote execution of arbitrary code (05/26/2009 06:14 pm)
- [gentoo-announce] [ GLSA 200905-07 ] Pidgin: Multiple vulnerabilities (05/26/2009 01:21 am)
- [gentoo-announce] [ GLSA 200905-06 ] acpid: Denial of Service (05/24/2009 08:49 pm)
- [gentoo-announce] [ GLSA 200905-05 ] FreeType: Multiple vulnerabilities (05/24/2009 08:14 pm)
- [gentoo-announce] [ GLSA 200905-04 ] GnuTLS: Multiple vulnerabilities (05/24/2009 03:42 pm)
- [gentoo-announce] [ GLSA 200905-03 ] IPSec Tools: Denial of Service (05/24/2009 03:28 pm)
- [gentoo-announce] [ GLSA 200905-02 ] Cscope: User-assisted execution of arbitrary code (05/24/2009 03:14 pm)
- [gentoo-announce] [ GLSA 200905-01 ] Asterisk: Multiple vulnerabilities (05/02/2009 08:07 pm)
- [gentoo-announce] [ GLSA 200904-20 ] CUPS: Multiple vulnerabilities (04/24/2009 12:07 am)
- [gentoo-announce] [ GLSA 200904-19 ] LittleCMS: Multiple vulnerabilities (04/19/2009 05:49 pm)
- [gentoo-announce] [ GLSA 200904-18 ] udev: Multiple vulnerabilities (04/18/2009 09:14 pm)
- [gentoo-announce] [ GLSA 200904-17 ] Adobe Reader: User-assisted execution of arbitrary code (04/18/2009 01:28 pm)

Post New Comment


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