CVE-2018-12559 Path traversal in n/a

High 8.8 Published Updated

A local attacker can exploit insufficient path checks in the Cantata D-Bus service to mount CIFS filesystems outside the home directory, potentially escalating privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12559?

CVE-2018-12559 is a high-severity path traversal vulnerability in n/a, published on 19 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in the cantata-mounter D-Bus service in Cantata through 2.3.1. The mount target path check in mounter.cpp `mpOk()` is insufficient. A regular user can consequently mount a CIFS filesystem anywhere (e.g., outside of the /home directory tree) by passing directory traversal sequences such as a home/../usr substring.

Weakness: CWE-22

Which versions are affected by CVE-2018-12559?

It affects 1 product.

Products include Cantata Project Cantata.

How do I fix CVE-2018-12559?

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-2018-12559 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-12559, GHSA-hfgr-4f63-r7p9.

Is CVE-2018-12559 in your software?

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

Check your SBOMs for free