CVE-2014-1640 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks in axiom-test.sh due to unsafe temporary file handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-1640?
CVE-2014-1640 is a low-severity path traversal vulnerability in n/a, published on 28 Jan 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
axiom-test.sh in axiom 20100701-1.1 uses tempfile to create a safe temporary file but appends a suffix to the original filename and writes to this new filename, which allows local users to overwrite arbitrary files via a symlink attack on the new filename.
Weakness: CWE-59
Which versions are affected by CVE-2014-1640?
It affects 1 product.
Products include Debian Axiom.
How do I fix CVE-2014-1640?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-1640 being exploited?
There is no known exploitation of CVE-2014-1640 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2014-1640, GHSA-g2x6-c7hh-8cfm.