CVE-2017-5397 Path traversal in Firefox
A local attacker with file system write access can replace cached libraries in Firefox, leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-5397?
CVE-2017-5397 is a critical path traversal vulnerability in Mozilla Firefox, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The cache directory on the local file system is set to be world writable. Firefox defaults to extracting libraries from this cache. This allows for the possibility of an installed malicious application or tools with write access to the file system to replace files used by Firefox with their own versions. This vulnerability affects Firefox < 51.0.3.
Weakness: CWE-829
Which versions are affected by CVE-2017-5397?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2017-5397?
No fix has been published for CVE-2017-5397 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-2017-5397 being exploited?
There is no known exploitation of CVE-2017-5397 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-5h8g-78mr-f4g5.