• About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us
AimactGrow
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
AimactGrow
No Result
View All Result

OpenSSH Points Emergency Repair for Flaw Letting Lengthy Passwords Bypass SSH Auth on Alpine Linux

Admin by Admin
November 5, 2026
Home Cybersecurity
Share on FacebookShare on Twitter


Attackers can log in to accounts that don’t have any password, similar to SSH key-only accounts, on some Alpine Linux servers working the usual openssh-server package deal. They want community entry to the server, an account identify, and a password between 257 and 1,024 bytes lengthy.

OpenSSH, which charges the flaw vital, launched model 10.6p2 right now to dam it. Alpine has printed mounted packages for each launch again to three.16.

The assault works when the OpenSSH server (sshd) checks passwords with out the Pluggable Authentication Module (PAM) interface, password logins are enabled, and a minimum of one different account on the machine has a password. Alpine’s openssh-server package deal is constructed with out PAM, and password logins are on by default.

The flaw comes from how sshd works with musl, the C library that Alpine is constructed on. Non-Linux techniques, Linux techniques constructed on glibc, and techniques that examine passwords by means of PAM will not be affected, stated Damien Miller of the OpenSSH venture.

He instructed anybody working an affected system to “set PasswordAuthentication=no or disable SSH for these techniques IMMEDIATELY.” No assaults utilizing the flaw have been reported.

Who Is Uncovered

Alpine’s safety advisory lists 4 situations. A server is uncovered when all 4 are true:

  • It runs the openssh-server package deal, which is constructed with out PAM, or runs openssh-server-pam with UsePAM no.
  • PasswordAuthentication is sure, which is the OpenSSH default.
  • An account has * as its password area, which implies no password is about.
  • At the least one different native account has a password hash beginning with $5$ or $6$.

The attacker additionally wants the identify of an account with no password. One account with a password is sufficient to expose each account with out one. The assault succeeds on each attempt with a single connection, in keeping with the advisory.

On Alpine, accounts with no password set embody:

  • key-only customers created with adduser and not using a password, or with usermod -p '*'
  • customers who come from a listing service by means of musl-nscd, since they don’t have any shadow entry
  • root, which has shipped as root:* within the base picture since about Alpine 3.16
  • the alpine person within the official cloud photographs constructed with tiny-cloud

Root is protected by the default PermitRootLogin prohibit-password setting and could be reached straight provided that PermitRootLogin sure is about. That safety doesn’t assist if an uncovered account can grow to be root, for instance by means of doas.

The tiny-cloud photographs from 3.18.11 by means of 3.24.3 give the alpine person passwordless doas. They’re protected at first boot however grow to be open to assault as soon as any $6$ hash exists on the machine, for instance after an admin units a console password. An attacker can then log in as alpine and use doas to grow to be root.

Containers that don’t run sshd, techniques with PasswordAuthentication no, and cloud photographs arrange by means of cloud-init, which writes that setting, will not be affected. Accounts locked with ! in /and many others/shadow will not be affected both, and neither are machines the place no account has a $-style password hash.

The flaw shouldn’t be restricted to Alpine. Özgün Kültekin of Wakefield, who reported it, names OpenWrt, Buildroot and Yocto in his technical write-up as different musl-based techniques to examine.

OpenWrt handles SSH with Dropbear by default, as its Dropbear documentation reveals, and Kültekin says Dropbear shouldn’t be affected. On OpenWrt, the flaw can matter solely the place an admin has put in the OpenSSH server.

Find out how to Repair It

On Alpine, the repair is a package deal replace adopted by a restart, as a result of upgrading the package deal doesn’t restart the working sshd:

  1. Replace the packages: apk improve -U -a
  2. Restart the server: rc-service sshd restart

Level releases 3.21.10, 3.22.8, 3.23.8 and three.24.4 already embody the mounted package deal. Branches 3.16 to three.21 are previous their finish of assist but additionally acquired mounted packages.

Cloud situations began from tiny-cloud photographs older than these level releases nonetheless want the replace, or the setting beneath.

In the event you construct OpenSSH your self, model 10.6p2 contains the change, as its launch notes describe.

In the event you can not replace but, turning off password logins additionally stops the assault. First be sure your SSH key login works, and maintain your present session open till a brand new login succeeds. Then set PasswordAuthentication no, examine the configuration with sshd -t, and restart sshd.

The advisory provides instructions that add the setting in a drop-in file in /and many others/ssh/sshd_config.d, which Alpine’s default configuration reads from 3.19 onward. In addition they change each PasswordAuthentication line in /and many others/ssh/sshd_config from sure to no, together with traces inside a Match block. Afterward, sshd -T | grep -i passwordauthentication ought to print passwordauthentication no.

The advisory suggests trying in /var/log/messages for sshd traces studying Accepted password for an account that has no password, similar to alpine, root or a key-only person. On uncovered machines, additionally assessment doas use, not too long ago created customers, recordsdata and approved keys.

“In the event you can not rule out a login, deal with the machine as compromised,” it says.

Why Lengthy Passwords Work

With out PAM, sshd checks a password itself. It hashes the try with crypt(), the C library perform that turns a password into its saved type, and compares the outcome with the saved area.

An account with no password has solely * in that area. That’s too brief to carry a salt, the random prefix of a hash, so sshd borrows the salt of one other account that has an actual hash.

For the $5$ and $6$ hash sorts, musl’s crypt() refuses passwords longer than 256 bytes and returns * to sign the error. That * matches the saved *, so sshd accepts the login. The higher finish of the vary is sshd’s personal restrict of 1,024 bytes per password.

This conduct comes from a musl change on August 9, 2012, which made a failed crypt() name return “an unmatchable hash relatively than NULL” as a result of many packages didn’t examine for failure. The 256-byte restrict adopted on August 29, 2012, to guard servers from denial-of-service assaults.

The salt borrowing comes from a July 15, 2016, OpenSSH change that addressed CVE-2016-6210, a flaw that allow attackers study which usernames exist. Kültekin says the issue has existed since then.

The ten.6p2 code change makes sshd refuse a match when the saved area is shorter than 4 characters. OpenSSH calls it a workaround and says the foundation trigger lies outdoors sshd. Steady Alpine packages carry a patch for a similar downside.

Why the Repair Got here the Subsequent Day

Miller’s workforce realized of the flaw earlier this week and shipped the repair as quick because it might. Within the launch announcement, he stated the workforce now sees lengthy embargoes as harmful and primarily useful to attackers, as a result of it has not too long ago seen AI brokers discover the identical bugs once more, generally inside hours.

No CVE identifier had been assigned to the flaw as of right now.

Tags: AlpineAuthBypassEmergencyFixFlawIssueslettingLinuxlongOpenSSHPasswordsSSH
Admin

Admin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended.

Accelerating scientific discovery with AI | MIT Information

Accelerating scientific discovery with AI | MIT Information

July 1, 2025
Underrated RPGs You Ought to Undoubtedly Play

Underrated RPGs You Ought to Undoubtedly Play

September 11, 2026

Trending.

From Basement to Breakthroughs: Contained in the Studio Powering the Web’s Boldest Manufacturers

From Basement to Breakthroughs: Contained in the Studio Powering the Web’s Boldest Manufacturers

December 15, 2025
HunyuanCustom Brings Single-Picture Video Deepfakes, With Audio and Lip Sync

HunyuanCustom Brings Single-Picture Video Deepfakes, With Audio and Lip Sync

May 8, 2025
CSS Carousels | CSS-Tips

CSS Carousels | CSS-Tips

April 26, 2025
A SQL MERGE assertion performs actions primarily based on a RIGHT JOIN

Solely the primary UNION subquery’s Converters are utilized to the consequence.

April 30, 2025
Begin constructing with Gemini 2.5 Flash

Begin constructing with Gemini 2.5 Flash

April 17, 2025

AimactGrow

Welcome to AimactGrow, your ultimate source for all things technology! Our mission is to provide insightful, up-to-date content on the latest advancements in technology, coding, gaming, digital marketing, SEO, cybersecurity, and artificial intelligence (AI).

Categories

  • AI
  • Coding
  • Cybersecurity
  • Digital marketing
  • Gaming
  • SEO
  • Technology

Recent News

OpenSSH Points Emergency Repair for Flaw Letting Lengthy Passwords Bypass SSH Auth on Alpine Linux

OpenSSH Points Emergency Repair for Flaw Letting Lengthy Passwords Bypass SSH Auth on Alpine Linux

November 5, 2026
FTC Unseals Particulars In Amazon Adverts Public sale Surcharge Swimsuit

FTC Unseals Particulars In Amazon Adverts Public sale Surcharge Swimsuit

November 5, 2026
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved