CVE-2017-5226
Bubblewrap Sandbox TIOCSTI Terminal Input Buffer Escape Vulnerability
Description
When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing an attacker to escape the sandbox.
INFO
Published Date :
March 29, 2017, 8:59 p.m.
Last Modified :
March 17, 2023, 12:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-5226 has a 3 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-2017-5226
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2020/07/10/1 | |
http://www.openwall.com/lists/oss-security/2023/03/17/1 | |
http://www.securityfocus.com/bid/97260 | Third Party Advisory VDB Entry |
https://bugzilla.redhat.com/show_bug.cgi?id=1411811 | Issue Tracking Patch |
https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117 | Patch |
https://github.com/projectatomic/bubblewrap/issues/142 | Exploit Patch Vendor Advisory |
https://www.openwall.com/lists/oss-security/2023/03/14/2 |
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).
bubblewrap backports for Ubuntu, used in Flatpak PPA
Emacs Lisp Makefile Shell C Meson M4 Python
: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
Low-level unprivileged sandboxing tool used by Flatpak and similar projects
user-namespaces linux-containers
Shell C Emacs Lisp Python Meson
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-5226
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-5226
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]
Mar. 17, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/03/17/1 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 14, 2023
Action Type Old Value New Value Added Reference https://www.openwall.com/lists/oss-security/2023/03/14/2 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 10, 2020
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2020/07/10/1 [No Types Assigned] -
Reanalysis by [email protected]
Apr. 25, 2019
Action Type Old Value New Value Changed CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://github.com/projectatomic/bubblewrap/issues/142 Patch, Vendor Advisory https://github.com/projectatomic/bubblewrap/issues/142 Exploit, Patch, Vendor Advisory -
Initial Analysis by [email protected]
Apr. 10, 2017
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:U/C:H/I:H/A:H Changed Reference Type https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117 No Types Assigned https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117 Patch Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1411811 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1411811 Issue Tracking, Patch Changed Reference Type http://www.securityfocus.com/bid/97260 No Types Assigned http://www.securityfocus.com/bid/97260 Third Party Advisory, VDB Entry Changed Reference Type https://github.com/projectatomic/bubblewrap/issues/142 No Types Assigned https://github.com/projectatomic/bubblewrap/issues/142 Patch, Vendor Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:projectatomic:bubblewrap:0.1.5:*:*:*:*:*:*:* (and previous) -
CVE Modified by [email protected]
Apr. 04, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/97260 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-5226
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-2017-5226
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.79 }} 0.27%
score
0.80958
percentile