CVE-2018-18654 Path traversal in n/a
A local attacker can exploit insecure temporary file handling in Crossroads to replace the executable with a Trojan horse, leading to code execution.
- 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-2018-18654?
CVE-2018-18654 is a high-severity path traversal vulnerability in n/a, published on 26 Oct 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Crossroads 2.81 does not properly handle the /tmp directory during a build of xr. A local attacker can first create a world-writable subdirectory in a certain location under the /tmp directory, wait until a user process copies xr there, and then replace the entire contents of this subdirectory to include a Trojan horse xr.
Weakness: CWE-732
Which versions are affected by CVE-2018-18654?
It affects 1 product.
Products include Debian Crossroads.
How do I fix CVE-2018-18654?
No fix has been published for CVE-2018-18654 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-2018-18654 being exploited?
There is no known exploitation of CVE-2018-18654 in the wild and no public exploit code.
Sources
Also known as GHSA-f955-5pqg-q2q8, UBUNTU-CVE-2018-18654.