A vulnerability in the wall command of the util-linux package that is part of the Linux operating system could allow an unprivileged attacker to steal passwords or change the victim's clipboard. Tracked as CVE-2024-28085, the security issue has been dubbed WallEscape and has been present in every version of the package for the past 11 years up to 2.40 released yesterday. Although the vulnerability is an interesting example of how an attacker can deceive a user into giving their administrator password, exploiting is likely limited to certain scenarios. An attacker needs to have access to a Linux server that already has multiple users connected at the same time through the terminal, such as a college where students may connect for an assignment. Security researcher Skyler Ferrante discovered WallEscape, which is described as an "improper neutralization of escape sequences in wall" command. WallEscape impacts the ‘wall’ command, which is typically used in Linux systems to broadcast messages to the terminals of all users logged to the same system, such as a server. Because escape sequences are improperly filtered when processing input through command line arguments, an unprivileged user could exploit the vulnerability using escape control characters to create a fake SUDO prompt on other users' terminals and trick them into typing their administrator password. The security issue can be exploited under certain conditions. Ferrante explains that exploitation is possible if the "mes...
Decade-old Linux ‘wall’ bug helps make fake SUDO prompts, steal passwords
BleepingComputer
·Bill Toulas
·Published Mar 28, 2024
·Updated
Affected Software
3 affected components
Linux util-linux
Ubuntu 22.04 LTS (Jammy Jellyfish)
Debian 12.5 (Bookworm)
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses a decade-old vulnerability in the Linux 'wall' command that can be exploited to create fake SUDO prompts and steal user passwords.
2
What security implications are discussed in the article?
The vulnerability allows unprivileged attackers to potentially steal passwords and modify the victim's clipboard content.
3
What is the identifier for the vulnerability mentioned in the article?
The vulnerability is tracked as CVE-2024-28085.
4
Which Linux distributions are specifically affected by this vulnerability?
The affected distributions include Ubuntu 22.04 LTS and Debian 12.5.
5
What software package contains the vulnerability discussed in the article?
The vulnerability is found in the util-linux package that is part of the Linux operating system.