The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200710-22 ] TRAMP: Insecure temporary file creation


<< Previous INDEX Search src / Print Next >>
Date: Sat, 20 Oct 2007 22:55:06 +0200
From: Raphael Marichez <falco@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200710-22 ] TRAMP: Insecure temporary file creation
Message-ID: <20071020205506.GC31987@falco.falcal.net.>
Mail-Followup-To: [email protected],
        [email protected], [email protected],
        [email protected]
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="PHCdUe6m4AxPMzOu"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9  9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
Organization: Gentoo Linux Security Team
User-Agent: Mutt/1.5.16 (2007-06-09)
X-Virus-Scanned: antivirus-gw at tyumen.ru


--PHCdUe6m4AxPMzOu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200710-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: Normal
     Title: TRAMP: Insecure temporary file creation
      Date: October 20, 2007
      Bugs: #194713
        ID: 200710-22

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


Synopsis
========

The TRAMP package for GNU Emacs insecurely creates temporary files.

Background
==========

TRAMP is a remote file editing package for GNU Emacs, a highly
extensible and customizable text editor.

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

    -------------------------------------------------------------------
     Package          /   Vulnerable   /                    Unaffected
    -------------------------------------------------------------------
  1  app-emacs/tramp      < 2.1.10-r2                     >= 2.1.10-r2
                                                                *< 2.1


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

Stefan Monnier discovered that the tramp-make-tramp-temp-file()
function creates temporary files in an insecure manner.

Impact
======

A local attacker could create symbolic links in the directory where the
temporary files are written, pointing to a valid file somewhere on the
filesystem that is writable by the user running TRAMP. When TRAMP
writes the temporary file, the target valid file would then be
overwritten with the contents of the TRAMP temporary file.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All TRAMP users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-emacs/tramp-2.1.10-r2"


References
==========

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

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

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

  http://security.gentoo.org/glsa/glsa-200710-22.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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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

--PHCdUe6m4AxPMzOu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iQEVAwUBRxprKjvRww8BFPxFAQKmqQf+NefMCGBylZrUXnEi/cyTT6S99HRuXnjK
Zi7DRFBuqsRbnRL1FTngeBYgk7uSLxvdLrDlguH30MZ06vxOXneIuOivHsXaO2WC
w4SIohYtEIJR24BlqH9GK1HW/hxdcg1XgU+fUVRPn31EgysA5tBSLGoheT2+bzVv
XwlZULueMnYwTy3chdhALw9kITjOzPtP7UuzDEhf9QHIzLDQUy3adZRUNfHjp2wx
vv6Yzyz57k4ybvK53zhY9y/+cOVJVn5qLN5Ua62WhLVZl2GgHgOfHXbdKuBGYZpz
+Hdi3Rt5bf3rpqOLcVm+tOMol1alVyUiJ2jBeTU+Lo4t2wgdUJFMQw==
=qeJs
-----END PGP SIGNATURE-----

--PHCdUe6m4AxPMzOu--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру