• News/
  • https://www.bleepingcomputer.com/news/security/decade-old-linux-wall-bug-helps-make-fake-sudo-prompts-steal-passwords/

Decade-old Linux ‘wall’ bug helps make fake SUDO prompts, steal passwords

BleepingComputer
·
Bill Toulas
·
Published Mar 28, 2024
·
Updated

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...

Read full article

Affected Software

3 affected components
Linux util-linux
Ubuntu 22.04 LTS (Jammy Jellyfish)
Debian 12.5 (Bookworm)
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203