Bug 1595570 (CVE-2018-12562) - CVE-2018-12562 cantata: Insufficient input validation in the 'mount.cifs.wrapper' script
Summary: CVE-2018-12562 cantata: Insufficient input validation in the 'mount.cifs.wrap...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-12562
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:42 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:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-06-27 07:42:55 UTC
An issue was discovered in the cantata-mounter D-Bus service in Cantata through 2.3.1. The wrapper script 'mount.cifs.wrapper' uses the shell to forward the arguments to the actual mount.cifs binary. The shell evaluates wildcards (such as in an injected string:/home/../tmp/* string).

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:11 UTC
Created cantata tracking bugs for this issue:

Affects: fedora-all [bug 1595571]

Comment 2 Product Security DevOps Team 2019-06-10 10:30:38 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.