CVE-2017-5180 Privilege escalation in n/a

High 8.8 Published Updated

Local attackers can escape the Firejail sandbox and gain root privileges by exploiting a symlink vulnerability involving the .Xauthority file.

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-2017-5180?

CVE-2017-5180 is a high-severity vulnerability in n/a, published on 9 Feb 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Firejail before 0.9.44.4 and 0.9.38.x LTS before 0.9.38.8 LTS does not consider the .Xauthority case during its attempt to prevent accessing user files with an euid of zero, which allows local users to conduct sandbox-escape attacks via vectors involving a symlink and the --private option.

Weakness: CWE-862

Which versions are affected by CVE-2017-5180?

It affects 1 product.

Products include Firejail Project Firejail.

How do I fix CVE-2017-5180?

Upgrade to a fixed version.

Is CVE-2017-5180 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2017-5180, GHSA-j8r6-v8qr-pf69, UBUNTU-CVE-2017-5180.

Is CVE-2017-5180 in your software?

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

Check your SBOMs for free