CVE-2018-20167
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.
EPSS 1.42% · 81.0th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | terminology | 0, 1.3.2-1build1, 1.6.0-2 |
| Ubuntu:18.04:LTS | terminology | 0, 0.9.1-1 |
| Ubuntu:22.04:LTS | terminology | 1.10.0-1, 1.11.0-1, 1.12.1-1 |
| Ubuntu:16.04:LTS | terminology | 0.7.0-1+deb8u1build0.16.04.1, 0, 0.7.0-1 |
Exploit Intelligence
Timeline
- Dec 17, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
- Mar 7, 2023 EPSS Score
References
- https://phab.enlightenment.org/T7504 third-party-advisory
- https://ubuntu.com/security/CVE-2018-20167 third-party-advisory
- https://git.enlightenment.org/apps/terminology.git/commit/?id=1ac204da9148e7bccb1b5f34b523e2094dfc39e2 third-party-advisory
- https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2 third-party-advisory
- https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-20167 third-party-advisory