TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

BID:26072

Info

TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

Bugtraq ID: 26072
Class: Design Error
CVE: CVE-2007-5377
Remote: No
Local: Yes
Published: Oct 15 2007 12:00AM
Updated: Mar 13 2008 02:11AM
Credit: Stefan Monnier discovered these issues.
Vulnerable: GNU Tramp 2.1.10
Gentoo Linux
Not Vulnerable: GNU Tramp 2.1.11

Discussion

TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

The TRAMP extension for Emacs creates temporary files in an insecure manner.

An attacker with local access could potentially exploit these issues to perform symlink attacks, overwriting arbitrary files in the context of the affected application.

Successfully mounting a symlink attack may allow the attacker to overwrite or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.

Versions prior to TRAMP 2.1.11 are vulnerable.

Exploit / POC

TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

To exploit these issues, an attacker uses readily available commands.

Solution / Fix

TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

Solution:
The vendor released TRAMP 2.1.11 to address these issues. Please see the references for more information.

References

TRAMP Extension For Emacs Multiple Insecure Temporary File Creation Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report