OpenSSH flaw lets attackers log into password-disabled Linux accounts
What happened
OpenSSH fixed a flaw in version 10.6p2 that allows oversized passwords to authenticate to certain password-disabled accounts on musl-based Linux systems, including Alpine Linux. Exploitation requires SSH password authentication enabled, PAM disabled, an account with an asterisk as its stored password hash, and another account with a valid hash; musl’s crypt() returns an asterisk on hashing failure, which OpenSSH incorrectly accepts as a match. Researcher Ozgun Kultekin warns that affected Alpine AWS and Azure images include an “alpine” account with passwordless doas privileges, potentially allowing root access; administrators can update OpenSSH or disable SSH password authentication and restart the service.
Why it ranks #1
OpenSSH fixed an authentication flaw affecting certain password-disabled accounts on musl-based Linux systems; exploitation requires specific configurations, but affected Alpine cloud images could permit root access.
Who should care
Application security teams, Identity and access teams, IT and platform operations, SOC and incident response teams
What to do
Update Alpine Linux OpenSSH packages to the fixed version, OpenSSH 10.6p2, using `apk upgrade openssh`.
- Impact
- high
- Urgency
- near-term
- Confidence
- high
- Scope
- product
- Status
- disclosed