SecurityContext

CVE-2018-20167: Terminology - Remote Code Execution

  • Cve: CVE-2018-20167
  • Name: Terminology - Remote Code Execution
  • Description: 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.
  • Impact: Attackers can execute arbitrary code remotely by tricking users into rendering malicious files, leading to full system compromise.
  • Remediation: Update to version 1.3.1 or later to fix popmedia handling issues.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to introduce malicious files and trick user into rendering them
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02676
  • Epss percentile: 0.86169
  • Assignee: [email protected]
  • Published at: 2018-12-17T05:29:00Z
  • Age in days: 2899
  • Modified at: 2026-06-17T01:52:22Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20167
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

Public exploits

UrlSourceAdded date
https://phab.enlightenment.org/T7504nvd2018-12-17

References

Same in every row:

  • Source: nvd
UrlTags
https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2Mitigation, Patch, Vendor Advisory
https://phab.enlightenment.org/T7504Exploit, Mitigation, Vendor Advisory
https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
enlightenment:terminology< 1.3.1nonvd/v1/products/enlightenment/terminology

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-12-17
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts