Executive Summary

Summary
Title TRAMP: Insecure temporary file creation
Informations
Name GLSA-200710-22 First vendor Publication 2007-10-20
Vendor Gentoo Last vendor Modification 2007-10-20
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 6.9 Attack Range Local
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

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

Original Source

Url : http://security.gentoo.org/glsa/glsa-200710-22.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

OpenVAS Exploits

Date Description
2008-09-24 Name : Gentoo Security Advisory GLSA 200710-22 (tramp)
File : nvt/glsa_200710_22.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
41752 Tramp Extension for EMACS Multiple Function Temporary File Symlink Arbitrary ...

Nessus® Vulnerability Scanner

Date Description
2007-10-25 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200710-22.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:13
  • Multiple Updates