Top
Best
New

Posted by josemrb 15 hours ago

sshole(sshhole.com)
2349 points | 574 commentspage 11
sliqqq 7 hours ago|
jesus christ wtf
globular-toast 11 hours ago||
Tbh the most disappointing part of this is musl (and later glibc) changing the function to stop callers crashing because they didn't RTFM.
damatar 5 hours ago||
[flagged]
rom1v 12 hours ago||
[dead]
asclepios_v 9 hours ago||
[dead]
mari_dtfy 12 hours ago||
Disclosure: I work at Detectify. A few practical notes for anyone checking their own machines:

- It affects Alpine's openssh-server (built without PAM), or openssh-server-pam with UsePAM no, when PasswordAuthentication is enabled. Alpine says every release they checked is affected, 3.16 through 3.24 and edge.

- Fixed openssh packages are out for all of those, including the older 3.16-3.20 releases. Upgrade and restart sshd (rc-service sshd restart). If you can't upgrade yet, set PasswordAuthentication no.

- To check a box: apk info -v openssh-server for the version, and sshd -T | grep -iE 'usepam|passwordauthentication' for the effective config.

- Containers built FROM alpine that run sshd are easy to miss in an inventory. So are the official tiny-cloud images (3.18.11 through 3.24.3), which ship an alpine user with no password and passwordless doas, so a bypass there means root.

- After patching, look in /var/log/messages for sshd lines saying "Accepted password for" an account that has no password.

v1b3m 11 hours ago||
[flagged]
dadadat 13 hours ago|
[flagged]
More comments...