Bug 1119819 (CVE-2018-20167) - VUL-0: CVE-2018-20167: terminology: Incorrect escaping of crafted files results in code execution
Summary: VUL-0: CVE-2018-20167: terminology: Incorrect escaping of crafted files resul...
Status: RESOLVED FIXED
Alias: CVE-2018-20167
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.1
Hardware: Other Other
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/221214/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-18 11:39 UTC by Alexander Bergmann
Modified: 2022-02-21 08:19 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2018-12-18 11:39:46 UTC
rh#1659975

Terminology before 1.3.1 allows Remote Code Execution because popmedia is
mishandled, as demonstrated by an unsafe "cat README.md" command when \e}pn is
used. A popmedia control sequence can allow the malicious execution of
executable file formats registered in the X desktop share MIME types
(/usr/share/applications). The control sequence defers unknown file types to the
handle_unknown_media() function, which executes xdg-open against the filename
specified in the sequence. The use of xdg-open for all unknown file types allows
executable file formats with a registered shared MIME type to be executed. An
attacker can achieve remote code execution by introducing an executable file and
a plain text file containing the control sequence through a fake software
project (e.g., in Git or a tarball). When the control sequence is rendered (such
as with cat), the executable file will be run.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1659975
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-20167
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-20167.html
https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1
https://phab.enlightenment.org/T7504
https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2
Comment 1 Wolfgang Frisch 2020-01-16 15:02:46 UTC
Leap 15.1 needs an update.
Comment 2 Simon Lees 2022-02-21 07:42:43 UTC
All currently supported terminology should be updated by now reassigning to security