了解 *sshole,该漏洞可让黑客通过 SSH 访问 Linux 设备
Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
运行 Alpine Linux 某些配置以及可能其他发行版的设备受到十年前漏洞的影响,该漏洞允许攻击者无需密码即可登录设备。该漏洞存在于 OpenSSH(实现 SSH 连接的代码库)与 musl(libc 库的轻量级替代品)之间的交互中,与大多数其他 Linux 发行版不同,musl 在 Alpine 中使用。此外,使用 musl(发音为“muscle”)的 OpenSSH 不得使用 PAM(可插入身份验证模块),这是一个处理用户身份验证和帐户访问检查的框架。 Alpine 是一个轻量级、广泛使用的 Linux 发行版。如果其他平台使用相同的配置,则可能会受到影响。一个连接每次都有效,无需重试 成功利用漏洞还需要两个条件。首先,系统必须至少有一个可使用使用 SHA256 或 SHA512 函数进行哈希处理的密码进行访问的用户帐户。其次,必须将目标系统帐户配置为无密码,方法是在 /etc/shadow(存储密码哈希值的 Linux 文件)的密码字段中指定“*”。无密码帐户通常用于使用基于证书的身份验证的帐户。此设置对于某些类型的帐户很常见。阅读全文
原文(English)
Devices running some configurations of Alpine Linux, and possibly other distributions, are affected by a decade-old vulnerability that allows attackers to log into devices with no password. The vulnerability exists in the interaction between OpenSSH, the code library implementing SSH connections, and musl, a lightweight alternative to the libc library that, unlike most other Linux distributions, is used in Alpine. Further, OpenSSH using musl (pronounced muscle) must not use PAM (pluggable authentication modules), a framework that handles user authentication and account-access checks. Alpine is a lightweight, widely used Linux distribution. Other platforms may be affected if they use the same configurations. One connection, works every time, needs no retries There are two other conditions necessary for successful exploitation. First, a system must have at least one user account that’s accessible using a password that is hashed using the SHA256 or SHA512 functions. Second, the target system account must be configured to be passwordless, by way of specifying a "*" in the password field in /etc/shadow, the Linux file where password hashes are stored. Passwordless accounts are commonly used for accounts that use certificate-based authentication. This setting is common for certain types of accounts.Read full article Comments
本文为自动翻译,可能存在偏差,请以原文为准。发布于 2026-11-06 07:09
阅读原文 ↗https://arstechnica.com/security/2026/11/vulnerability-allow