VDB

CVE-2018-20167

CVE-2018-20167 PUBLISHED

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

EPSS Score
1.42%
81.0th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSterminology0, 1.3.2-1build1, 1.6.0-2
Ubuntu:18.04:LTSterminology0, 0.9.1-1
Ubuntu:22.04:LTSterminology1.10.0-1, 1.11.0-1, 1.12.1-1
Ubuntu:16.04:LTSterminology0.7.0-1+deb8u1build0.16.04.1, 0, 0.7.0-1

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
Open in Interactive Console →
$ Console Community · 100/wk Open console ›