CVE-2007-5377 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on temporary files in the Emacs Tramp extension.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2007-5377?
CVE-2007-5377 is a medium-severity path traversal vulnerability in n/a, published on 12 Oct 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The (1) tramp-make-temp-file and (2) tramp-make-tramp-temp-file functions in Tramp 2.1.10 extension for Emacs, and possibly earlier 2.1.x versions, allows local users to overwrite arbitrary files via a symlink attack on temporary files.
Weakness: CWE-59
Which versions are affected by CVE-2007-5377?
It affects 1 product.
Products include Gnu Tramp.
How do I fix CVE-2007-5377?
No fix has been published for CVE-2007-5377 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2007-5377 being exploited?
There is no known exploitation of CVE-2007-5377 in the wild and no public exploit code.
Sources
Also known as GHSA-j2p8-g6v3-58rx.