Bug 1595566 (CVE-2018-12559) - CVE-2018-12559 cantata: Directory traversal due to insufficient mount target check in mounter.cpp
Summary: CVE-2018-12559 cantata: Directory traversal due to insufficient mount target ...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-12559
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1595571
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-27 07:39 UTC by Andrej Nemec
Modified: 2019-09-29 14:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:30:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-06-27 07:39:35 UTC
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.

References:

http://www.openwall.com/lists/oss-security/2018/06/18/1

Upstream patch:

https://github.com/CDrummond/cantata/commit/afc4f8315d3e96574925fb530a7004cc9e6ce3d3

Comment 1 Andrej Nemec 2018-06-27 07:44:04 UTC
Created cantata tracking bugs for this issue:

Affects: fedora-all [bug 1595571]

Comment 2 Product Security DevOps Team 2019-06-10 10:30:33 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.