145 points · by fs111 · 11y ago · 39 comments
That seems like a pretty significant "oops" to have gone unnoticed for two releases?
I remember exploiting this issue more than a decade ago: http://seclists.org/bugtraq/1999/Sep/432
[1] http://www.azarask.in/blog/post/a-new-type-of-phishing-attac...
I guess I upgraded to an RSA key "just in time", though obviously far later than I apparently should have.
I still use arcfour; it seems to be the fastest when using scp or rsync (rsync -e 'ssh -c arcfour') for copying large files. I hope the OpenSSH package manager for my distribution keeps arcfour enabled for this reason.
OpenSSH since the 6.5 release (http://www.openssh.com/txt/release-6.5) has a better alternative, ChaCha20. It's even faster than RC4, and has no known weaknesses AFAIK. Some more information: https://security.stackexchange.com/questions/46812/what-does...
$ for c in $(ssh -Q cipher); do echo $c; dd if=/dev/zero bs=1M count=8K | ssh -o Compression=no -c $c localhost dd of=/dev/null 2>/dev/null; done * sshd(8): fix circumvention of MaxAuthTries using keyboard-
interactive authentication. By specifying a long, repeating
keyboard-interactive "devices" string, an attacker could request
the same authentication method be tried thousands of times in
a single pass. The LoginGraceTime timeout in sshd(8) and any
authentication failure delays implemented by the authentication
mechanism itself were still applied. Found by Kingcope.
That's a pretty big hole. See also: http://seclists.org/fulldisclosure/2015/Jul/92* Support for ssh-dss, ssh-dss-cert-* host and user keys is disabled by default at run-time. These may be re-enabled using the instructions at http://www.openssh.com/legacy.html
Summary
+ New default: PermitRootLogin prohibit-password, which also prohibits all interactive login forms.
+ DSS keys are finally disabled by default
+ Use at least 2048 bits for your RSA keys
+ Deprecating or disabling MD5, SHA1, Blowfish CBC, ARC4, and a few other older ciphers/hmac's.
+ Bug and vuln fixes
Which turns out to be a Cloud solution that promises "root privileges with just one mouse click" across all my servers. What could possibly go wrong?
It's an unfortunate fact of life that most large enterprises require the ability to quickly grant and revoke permissions across the enterprise. Some enterprises literally have no formal user deprovisioning process (even manual) across Linux/UNIX servers. Given that the only real alternative out there right now is LDAP, we think Userify is a pretty cool fix.
However, any powerful authorization framework can be dangerous, and the more power, the more danger. It's definitely a fair point.
I could probably easily write it - just haven't had a chance to do it.
OpenSSH + Userify = authtopia.
Disclaimer: I am founder of Userify.
FTFY.It says they only plan on "refusing all RSA keys smaller than 1024 bits" (e.g. 768 bits.
> Deprecating or disabling SHA1
SSH1, not SHA1!
yeah, I added that .. 2048 is really minimum best practice these days ;)
SSH1, not SHA1!
Good point, edited - btw next paragraph also says disabling 1024 bit diffie-hellman-group1-sha1 key exchange.