Alpine 云镜像与 OpenWrt 默认配置可能已满足前置条件,无需 PAM
绕过openssh云
RT @Kostastsale: This OpenSSH auth bypass vulnerability is crazy!
Under the right conditions, attackers can bypass SSH authentication for any account that meets the requirements.
Prerequisites:
→ musl libc (e.g. Alpine Linux, Openwrt)
→ OpenSSH without PAM
→ SSH password authentication enabled
→ Target account has * in /etc/shadow → Another account has a valid password hash
As an example, right now, official Alpine Linux cloud images on AWS and Azure have a default account that can run commands as root without a password. Those cloud images are vulnerable to this attack.
https://t.co/GGsB1E5nae