{"id":"CVE-2018-12559","aliases":["DEBIAN-CVE-2018-12559","EUVD-2018-4519","GHSA-hfgr-4f63-r7p9","MGASA-2018-0314"],"status":"published","title":"An issue was discovered in the cantata-mounter D-Bus service in Cantata through 2.3.1. The mount...","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.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02068,"percentile":0.81535,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2018-06-19T05:00:00Z","modified":"2026-10-23T18:03:53Z","fixes":[{"ecosystem":"Debian:12","package":"cantata","fixed_in":["2.3.0.ds1-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cantata","fixed_in":["2.3.0.ds1-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cantata","fixed_in":["2.3.0.ds1-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cantata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0.ds1-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cantata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0.ds1-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cantata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0.ds1-2"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"cantata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-5.1.mga6"}]}],"bundled":4}],"products":[{"vendor":"cantata_project","product":"cantata"}],"references":[{"url":"https://github.com/CDrummond/cantata/commit/afc4f8315d3e96574925fb530a7004cc9e6ce3d3","tags":["x_refsource_MISC","x_transferred","Patch","Technical Description","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2018/06/18/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Technical Description","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12559"},{"url":"https://github.com/advisories/GHSA-hfgr-4f63-r7p9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12559","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0314.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23201","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2018/06/19/1","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-12559","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.","status":"published","published":"2018-06-19T05:00:00Z","modified":"2024-08-05T08:38:06.498Z","updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-4519","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.","status":"published","published":"2018-06-19T05:00:00Z","modified":"2024-08-05T08:38:06Z","updated_at":"2026-11-03T02:39:52.61924Z"}],"ghsa":[{"id":"GHSA-hfgr-4f63-r7p9","title":"An issue was discovered in the cantata-mounter D-Bus service in Cantata through 2.3.1. The mount...","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.","status":"published","published":"2022-05-14T03:08:17Z","modified":"2023-02-02T05:07:19Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:52:28.437617Z"}],"nvd":[{"id":"CVE-2018-12559","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.","status":"published","published":"2018-06-19T05:29:00.307Z","modified":"2026-06-17T01:37:58.407Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:29.837913Z"}],"osv":[{"id":"CVE-2018-12559","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.","status":"published","published":"2018-06-19T05:29:00.307Z","modified":"2026-10-20T13:32:57.755976867Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-CVE-2018-12559","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.","status":"published","published":"2018-06-19T05:29:00.307Z","modified":"2026-10-23T18:03:53.850126841Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"MGASA-2018-0314","title":"Updated cantata packages fix security vulnerability","description":"The mount target path check in mounter.cpp 'mpOk()' is insufficient. A\nregular user can this way mount a CIFS filesystem anywhere, and not just\nbeneath /home by passing relative path components (CVE-2018-12559).\n\nArbitrary unmounts can be performed by regular users the same way\n(CVE-2018-12560).\n\nA regular user can inject additional mount options like file_mode= by\nmanipulating e.g. the domain parameter of the samba URL (CVE-2018-12561).\n\nThe wrapper script 'mount.cifs.wrapper' uses the shell to forward the\narguments to the actual mount.cifs binary. The shell evaluates wildcards\nwhich can also be injected (CVE-2018-12562).\n\nTo fix these issues, the vulnerable D-Bus service has been removed.\n","status":"published","published":"2018-07-13T19:01:19Z","modified":"2026-04-16T06:24:17.092234028Z","updated_at":"2026-11-02T15:49:40.793816Z"}]}}
