1. News
  2. Alerts
  3. Security · Linux flaw
AlertSecurity · Linux flaw2 min read

Decade-old flaw lets attackers in with an oversized password

A flaw hidden in OpenSSH for about a decade lets attackers into some locked Linux accounts with an oversized password. Check whether your servers are affected.

By the Dashline deskSource: Schneier on Security
Decade-old flaw lets attackers in with an oversized password
Photo: Marc Mueller seven11nash, CC0
Act this week
What happenedA decade-old flaw in OpenSSH, the tool used to log in to servers remotely, lets attackers get into some locked Linux accounts by entering an oversized password.
Who is affectedServers running Alpine Linux or other musl-based Linux systems where accounts are set to block password logins.
What to do
  1. 1Ask your IT provider or hosting company whether any of your systems run Alpine Linux or another musl-based Linux.
  2. 2Install security updates for OpenSSH and the system as soon as your Linux provider releases them.
  3. 3Do not assume an account is safe just because password login is turned off.
  4. 4Review recent login records for odd or unexpected access.

A flaw that has sat in OpenSSH code for about a decade lets attackers log in to some locked Linux accounts by typing a password that is far too long. It is nicknamed *sshole, short for "SSH hole."

What happened

OpenSSH is the tool administrators use to log in to servers from a distance. The problem appears when it runs on musl, a basic building block used by Alpine Linux and some other Linux systems. Some accounts are set to refuse password logins. On affected systems, an oversized password gets an attacker in anyway.

A commenter on the Schneier on Security post explains the name. Old Unix password files put an asterisk in the password field to mark an account as off limits for login. That detail is part of why the flaw works.

Only Alpine Linux and other musl-based systems are named. Many websites and apps run on Linux servers, so it is worth asking your IT provider or host whether yours are among them. If they are not, the report does not describe them as affected.

What is not known yet

The source text is cut off before it says how long a password must be to trigger the flaw. It also does not say whether attackers are using it now, or whether fixes are already out. Those answers will decide how urgent this is for each system.

The steps in the alert box above cover what to ask and check. The main idea is that turning off password login should not be treated as proof an account is safe.

The takeaway

Ask your IT provider whether any of your servers run Alpine Linux or another musl-based system, and whether they have patched.

More articles

You should really read these.

Next step

Let’s talk