CVE-2019-10063
Flatpak TIOCSTI Sandbox Bypass
Description
Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Flatpak versions since 0.8.1 address CVE-2017-5226 by using a seccomp filter to prevent sandboxed apps from using the TIOCSTI ioctl, which could otherwise be used to inject commands into the controlling terminal so that they would be executed outside the sandbox after the sandboxed app exits. This fix was incomplete: on 64-bit platforms, the seccomp filter could be bypassed by an ioctl request number that has TIOCSTI in its 32 least significant bits and an arbitrary nonzero value in its 32 most significant bits, which the Linux kernel would treat as equivalent to TIOCSTI.
INFO
Published Date :
March 26, 2019, 2:29 p.m.
Last Modified :
May 13, 2019, 10:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2019-10063 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-10063
.
URL | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2019:1024 | |
https://access.redhat.com/errata/RHSA-2019:1143 | |
https://github.com/flatpak/flatpak/issues/2782 | Issue Tracking Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
:ninja: seccomp-based anti-TTY-hijacking proof-of-concept (prevents TIOCSTI and TIOCLINUX)
ioctl linux security tioclinux tiocsti seccomp seccomp-filter seccomp-filtering seccomp-tools command-injection libseccomp tty c99 syscalls syscall-filter doas sudo
Makefile C
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-10063
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-10063
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 13, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:1143 [No Types Assigned] -
CVE Modified by [email protected]
May. 07, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:1024 [No Types Assigned] -
Reanalysis by [email protected]
Apr. 25, 2019
Action Type Old Value New Value Changed CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) (AV:N/AC:M/Au:N/C:P/I:P/A:P) Changed CVSS V3 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/flatpak/flatpak/issues/2782 Third Party Advisory https://github.com/flatpak/flatpak/issues/2782 Issue Tracking, Patch, Third Party Advisory Removed CWE CWE-254 Added CWE CWE-20 Changed CPE Configuration OR *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.8 *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 1.1.0 up to (excluding) 1.2.4 *cpe:2.3:a:flatpak:flatpak:1.3.0:*:*:*:*:*:*:* OR *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.8 *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 1.1.0 up to (including) 1.1.3 *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 1.2.0 up to (excluding) 1.2.4 *cpe:2.3:a:flatpak:flatpak:1.3.0:*:*:*:*:*:*:* -
Initial Analysis by [email protected]
Mar. 27, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/flatpak/flatpak/issues/2782 No Types Assigned https://github.com/flatpak/flatpak/issues/2782 Third Party Advisory Added CWE CWE-254 Added CPE Configuration OR *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.8 *cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* versions from (including) 1.1.0 up to (excluding) 1.2.4 *cpe:2.3:a:flatpak:flatpak:1.3.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-10063
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-10063
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.21 }} -0.04%
score
0.58149
percentile