OpenSSH '*sshole' flaw opens musl Linux accounts to attackers
TL;DR
- The root cause traces to CVE-2016-6210: a 2016 timing-attack mitigation in OpenSSH created the condition musl's bypass exploits ten years later.
- musl's crypt() returns '*' on inputs over 256 bytes; Alpine stores '*' in /etc/shadow for passwordless accounts, so the string comparison succeeds and sshd accepts the login.
- IONIX confirmed active honeypot hits within nine hours of disclosure; two SSH authentication attempts on a single connection are sufficient to exploit.
A security researcher ran AI agents through roughly 17,600 authentication tests against OpenSSH and found a trivial unlock: on musl-based Linux, a password of at least 256 bytes logs an attacker into accounts that were supposed to be locked out, BleepingComputer reports. The disclosure went public on November 5.
Author Lawrence Abrams opens the piece: "A newly disclosed flaw involving OpenSSH and musl, dubbed '*sshole,' allows attackers to log in to certain Alpine Linux and other musl-based Linux accounts configured to block password authentication simply by entering an oversized password."
The mechanics are narrow. On musl systems, the crypt() function returns the character '*' for any password longer than 256 bytes. Accounts whose stored password-hash field is also '*' (the standard way to disable password login) then match. The bug traces to a 2016 OpenSSH change for CVE-2016-6210 that was modified "to perform password hashing even when an account had no usable password hash." Exploitation needs the full stack: OpenSSH on musl, PAM disabled, SSH password auth on, and at least one account with '*' as its hash alongside another account carrying a real password.
Researcher Ozgun Kultekin flags the practical exposure: Alpine's "official AWS and Azure cloud images have an affected default 'alpine' account." Still, Abrams notes, "The flaw does not allow attackers to bypass passwords on accounts with valid password hashes."
OpenSSH 10.6p2 ships the fix. Operators who can't update immediately can set 'PasswordAuthentication no' in sshd_config or re-enable PAM. The AI-agent methodology is its own signal in a busy cybersecurity week that already included DOJ launching an AI-misuse task force and Anthropic shipping its Claude Security Center.
What others are reporting
-
OX Security Read →
Original discoverer; traces how three independent software decisions across a decade converged, and discusses AI-agent fuzzing as the discovery method.
It was sitting in the boring glue between OpenSSH and libc, the code few people bother to read.
-
IONIX Read →
Deploys safe live exploitability tests against real servers, explains why PerSourcePenalties complicates scanning, and covers forensic log guidance for distinguishing probes from actual compromise.
Any password between 256 and 1024 characters is accepted for accounts with no password set.
-
Orca Security Read →
Maps cloud exposure and internet reachability of affected hosts, lists exact Alpine version-specific patch paths, and advises forensic log searches for post-compromise identification.
An unauthenticated attacker can log in over SSH password authentication as an account that should not accept passwords at all.
-
SOC Prime Read →
Provides SIEM/SOC-ready detection guidance: watching for password logins to key-only accounts, authentication anomalies, and post-login activity across Alpine branches.
An attacker does not need to know the target user's password. If an exposed SSH service meets the required conditions, an attacker who can reach the service can authenticate.
-
iTnews Read →
Leads with an on-record statement from OpenSSH developer Damien Miller and contextualizes CVE-2016-6210 as the historical root cause introduced a decade earlier.
If you operate a Linux system that uses musl libc without PAM then stop reading and set PasswordAuthentication=no IMMEDIATELY.
-
Rescana Read →
Targets third-party risk and procurement teams with specific supplier-query templates for validating vendor remediation timelines across affected infrastructure.
An attacker who can reach your SSH port can log in without knowing any password.
Shared on Bluesky by 1 AI expert
-
Researcher: *sshole, a decade-old OpenSSH flaw, lets attackers use a password of 256+ characters to log into passwordless accounts on some musl Linux systems (Lawrence Abrams/BleepingComputer) Main Link | Techmeme Perma…
View on Bluesky →
Originally reported by bleepingcomputer.com
Read the original article →Original headline: OpenSSH '*sshole' flaw lets 256+ char passwords log into password-disabled Linux accounts on musl systems