Vulnerability Name:

CVE-2018-20167 (CCN-154366)

Assigned:2018-12-16
Published:2018-12-16
Updated:2019-10-03
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-74
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-20167

Source: XF
Type: UNKNOWN
enlightenment-cve201820167-code-exec(154366)

Source: MISC
Type: Mitigation, Patch, Vendor Advisory
https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2

Source: MISC
Type: Exploit, Mitigation, Vendor Advisory
https://phab.enlightenment.org/T7504

Source: CCN
Type: Enlightenment Web site
Terminology 1.3.1 Release

Source: MISC
Type: Mitigation, Vendor Advisory
https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1

Vulnerable Configuration:Configuration 1:
  • cpe:/a:enlightenment:terminology:*:*:*:*:*:*:*:* (Version < 1.3.1)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201820167000
    V
    CVE-2018-20167 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-17
    oval:com.ubuntu.bionic:def:2018201670000000
    V
    CVE-2018-20167 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-17
    oval:com.ubuntu.cosmic:def:201820167000
    V
    CVE-2018-20167 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-17
    oval:com.ubuntu.xenial:def:2018201670000000
    V
    CVE-2018-20167 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-17
    oval:com.ubuntu.xenial:def:201820167000
    V
    CVE-2018-20167 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-17
    oval:com.ubuntu.disco:def:2018201670000000
    V
    CVE-2018-20167 on Ubuntu 19.04 (disco) - medium.
    2018-12-17
    oval:com.ubuntu.cosmic:def:2018201670000000
    V
    CVE-2018-20167 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-17
    BACK
    enlightenment terminology *