CVE-2017-7358 Path traversal in n/a

High 7.3 Published Updated

Local attackers can escalate privileges to root via directory traversal in LightDM guest account script during logout.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-7358?

CVE-2017-7358 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 5 Apr 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In LightDM through 1.22.0, a directory traversal issue in debian/guest-account.sh allows local attackers to own arbitrary directory path locations and escalate privileges to root when the guest user logs out.

Weakness: CWE-22

Which versions are affected by CVE-2017-7358?

It affects 2 products.

Products include Canonical Ubuntu Linux, Lightdm Project Lightdm.

How do I fix CVE-2017-7358?

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-2017-7358 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-487j-vfqw-h49x, UBUNTU-CVE-2017-7358, USN-3255-1.

Is CVE-2017-7358 in your software?

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

Check your SBOMs for free