CVE-2023-28100CWE-20

TIOCLINUX can send commands outside sandbox if running on a virtual console

Critical · published March 16, 2023

CVSS v3.1
10.0
EPSS
1%
Percentile
58.4
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in Flatpak lets a rogue app steal your terminal commands! 🔥 Think of this as a mischievous waiter who remembers your last order and places it for you after you’ve left the restaurant—completely uninvited! In this case, your commands are the orders, and the Linux virtual console is the table where they were made. If an attacker exploits this vulnerability, they could capture sensitive commands you input in the console, even after the Flatpak application has exited. This could lead to unauthorized access or execution of commands that can compromise your system. In the worst-case scenario, it’s a recipe for disaster!

Put simply

Think of this as a mischievous waiter who remembers your last order and places it for you after you’ve left the restaurant—completely uninvited! In this case, your commands are the orders, and the Linux virtual console is the table where they were made. This vulnerability allows Flatpak apps running on Linux virtual consoles like `/dev/tty1` to copy commands from the console into a command buffer using the `TIOCLINUX` ioctl. This means that a malicious app could execute commands without any user confirmation once it exits.

What to do

If an attacker exploits this vulnerability, they could capture sensitive commands you input in the console, even after the Flatpak application has exited. This could lead to unauthorized access or execution of commands that can compromise your system. In the worst-case scenario, it’s a recipe for disaster! To protect yourself, update Flatpak to versions 1.10.8, 1.12.8, 1.14.4, or 1.15.4 immediately. As a workaround, avoid running Flatpak applications on Linux virtual consoles and use graphical environments like Wayland or X11 instead. You've got this! With a quick update and a few simple precautions, your system will be secure in no time! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00871 · 58.4th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2023-03-16T15:51Z
EPSS history
Timeline
  • 16 MAR 15:51Z
    TIOCLINUX can send commands outside sandbox if running on a virtual console
    cvelistv5