一种名为“*sshole”的安全漏洞被披露,该漏洞存在于 OpenSSH 与 musl 库的交互过程中,允许攻击者在特定配置下无需密码即可通过 SSH 登录 Linux 设备 1。受影响的主要系统包括基于 musl libc 的发行版(如 Alpine Linux),其根本原因在于这些系统未使用 PAM(可插拔认证模块)进行身份验证 12。
关于利用条件,报道指出攻击者需满足以下前提:系统中存在至少一个使用 SHA256 或 SHA512 函数哈希密码的用户账户,且目标账户在 /etc/shadow 文件的密码字段中被配置为无密码(显示为"*") 1。此外,有来源称该漏洞允许黑客通过输入超长密码绕过身份验证,从而获取 root 权限 2。
据 Ars Technica 报道,“*sshole”这一名称对应的漏洞已在系统中潜伏约十年 1。另一方面,Google News 引用 Ars Technica 的报告将相关标识符列为 CVE-2026-123158,并指出 OpenSSH 项目已针对此高危漏洞发布了紧急修复补丁 2。
A newly identified security flaw named "*sshole" allows attackers to bypass authentication and gain root access on specific Linux systems, particularly those running Alpine Linux or other distributions based on musl libc 2. The vulnerability stems from an interaction issue between OpenSSH and the musl library when Pluggable Authentication Modules (PAM) are not in use, a condition that has persisted for approximately ten years 1. While one report describes the attack vector as requiring input of an excessively long password to bypass checks 2, the core failure lies in how OpenSSH handles specific user account configurations within the /etc/shadow file 1.
Exploiting this flaw requires two specific conditions: the system must have at least one user account with a password hashed using SHA256 or SHA512 functions, and the target account must be configured with a "no password" state, indicated by an asterisk (*) in the shadow file 1. In response to the discovery, designated under CVE-2026-123158, the OpenSSH project has released an urgent patch to mitigate the risk 2.
评论
还没有评论,欢迎留下第一条。