CVE-2018-12559

NameCVE-2018-12559
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs901798

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cantata (PTS)jessie1.4.2.ds1-1vulnerable
stretch2.0.1.ds1-2vulnerable
buster2.3.3.ds1-1fixed
bullseye2.4.2.ds1-1fixed
bookworm2.5.0.ds1-1fixed
sid, trixie2.5.0.ds1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cantatasource(unstable)2.3.0.ds1-2unimportant901798

Notes

https://www.openwall.com/lists/oss-security/2018/06/18/1
The daemon code is part of cantata since version 2.0.0 and it is built
by default in versions 2.3.0 and 2.3.1. Before 2.3.0 it was only built
if `-DENABLE_REMOTE_DEVICES=ON` was passed to the cmake invocation.
2.3.0.ds1-2 disables the cantata-mounter.
https://github.com/CDrummond/cantata/commit/afc4f8315d3e96574925fb530a7004cc9e6ce3d3

Search for package or bug name: Reporting problems