CVE-2018-5107 Path traversal in Firefox

Medium 5.3 Published Updated

The printing process can bypass local access protections to read files via symlinks, potentially exposing local file information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-5107?

CVE-2018-5107 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, 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 printing process can bypass local access protections to read files available through symlinks, bypassing local file restrictions. The printing process requires files in a specific format so arbitrary data cannot be read but it is possible that some local file information could be exposed. This vulnerability affects Firefox < 58.

Weakness: CWE-59

Which versions are affected by CVE-2018-5107?

It affects 2 products.

Products include Canonical Ubuntu Linux, Mozilla Firefox.

How do I fix CVE-2018-5107?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-5107 being exploited?

There is no known exploitation of CVE-2018-5107 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-gh9h-87wv-w3qc, UBUNTU-CVE-2018-5107.

Is CVE-2018-5107 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free