Earlier quoted context omitted.
So the real question is, can a MITM intercept connections to boxen you frequent to exploit this? Or is it limited to connecting to hostile honeypots?
Apparently not possible with MITM. "The authentication of the server host key prevents exploitation by a man-in-the-middle, so this information leak is restricted to connections to malicious or compromised servers." https://lists.mindrot.org/pipermail/openssh-unix-dev/2016-Ja...
OpenSSH: client bug CVE-2016-0777
41–50 of 226 posts
Re: OpenSSH: client bug CVE-2016-0777
#42ETA: I was way off... you can ignore this... :-) cf. section 3.3.5 [0], which describes "Roaming (Suspend/Resume)". This is documentation for an application by a company called AppGate (later acquired by Cryptzone) that wrote {some|most} of the code in OpenSSH's "roaming_client.c". This gives a hint of what the ramifications may be: basically, a MITM, who observed the initial session negotiation, can disconnect the c…
Re: OpenSSH: client bug CVE-2016-0777
#43Does it strike anyone else as bizarre / poor form for an experimental feature to be enabled by default in OpenSSH, which is normally very conservative with option defaults?
Time to head to the source to look for other undocumented options...
Update: my findings are here (scroll to bottom for the upshot): https://gist.github.com/AGWA/e92d4f5343be1f7a941d
UseRoaming is the only one to be concerned about. There are many other undocumented options, but they're all aliases for a documented option or are deprecated/unsupported.
Re: OpenSSH: client bug CVE-2016-0777
#44Re: OpenSSH: client bug CVE-2016-0777
#45Does it strike anyone else as bizarre / poor form for an experimental feature to be enabled by default in OpenSSH, which is normally very conservative with option defaults?
What's more, it was not documented in the ssh_config(5) man page. If it had been, I probably would have disabled it long ago when hardening my SSH config. Time to head to the source to look for other undocumented options... Update: my findings are here (scroll to bottom for the upshot): https://gist.github.com/AGWA/e92d4f5343be1f7a941d UseRoaming is the only one to be concerned about. There are many other undocumente…
Re: OpenSSH: client bug CVE-2016-0777
#46Workaround (yes, it's client-side): # echo -e "Host *\n\tUseRoaming no\n" >> /etc/ssh/ssh_config Disclaimer: won't work on all operating systems, shells, etc. YMMV. Consult a doctor before following any advice you get from the Internet. Void where prohibited. Restrictions may apply. Edited per comments below
Re: OpenSSH: client bug CVE-2016-0777
#47What was this experimental / undocumented roaming feature even suppose to do?
Re: OpenSSH: client bug CVE-2016-0777
#48Does it strike anyone else as bizarre / poor form for an experimental feature to be enabled by default in OpenSSH, which is normally very conservative with option defaults?
What's more, it was not documented in the ssh_config(5) man page. If it had been, I probably would have disabled it long ago when hardening my SSH config. Time to head to the source to look for other undocumented options... Update: my findings are here (scroll to bottom for the upshot): https://gist.github.com/AGWA/e92d4f5343be1f7a941d UseRoaming is the only one to be concerned about. There are many other undocumente…
Re: OpenSSH: client bug CVE-2016-0777
#49Earlier quoted context omitted.
Is there any way to update openssh on my side, without waiting to apple ? Is this enough ? https://mochtu.de/2015/01/07/updating-openssh-on-mac-os-x-10...
You can patch it with: # echo 'UseRoaming no' >> /etc/ssh/ssh_config or $ echo "UseRoaming no" >> ~/.ssh/config
Re: OpenSSH: client bug CVE-2016-0777
#50Does this affect mosh?
No, the roaming in Mosh is unrelated to OpenSSH's roaming feature.