CVE-2023-1523

Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it to cause arbitrary…

Critical · published September 1, 2023

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

🚨 A crafty snap can slip out of its cozy sandbox and run arbitrary commands on your terminal! 🔥 Think of it like a mischievous guest at a hotel who finds a way to sneak into the kitchen after hours and start cooking their own dinner — completely outside the hotel's rules. In this case, the malicious snap is the guest, and your terminal is the kitchen! An attacker could exploit this vulnerability to execute commands with the same privileges as the user running the snap. This could lead to unauthorized access to sensitive information, tampering with system settings, or even full system compromise after the snap exits — a recipe for disaster!

Put simply

Think of it like a mischievous guest at a hotel who finds a way to sneak into the kitchen after hours and start cooking their own dinner — completely outside the hotel's rules. In this case, the malicious snap is the guest, and your terminal is the kitchen! This vulnerability uses the TIOCLINUX ioctl request to manipulate terminal input, allowing a malicious snap to inject commands beyond its sandboxed environment on a virtual console. Graphical terminal emulators like xterm and gnome-terminal remain unaffected.

What to do

An attacker could exploit this vulnerability to execute commands with the same privileges as the user running the snap. This could lead to unauthorized access to sensitive information, tampering with system settings, or even full system compromise after the snap exits — a recipe for disaster! To mitigate this risk, ensure that snaps are only run in trusted environments and consider configuring your system to limit the use of virtual consoles. Regularly update your snap packages to the latest versions, as any security patches will help protect against potential exploits. You've got this! Follow these steps, and you'll be securing your system like a pro! 🛡️

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.01447 · 73.1th percentile
Published
2023-09-01T18:41Z
EPSS history
Timeline
  • 01 SEP 18:41Z
    Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it to cause arbitrary…
    cvelistv5