[cisco-voip] openSSH / SFT / DRS important FYI

Ryan Huff ryanhuff at outlook.com
Wed Jun 1 21:36:14 EDT 2016


Thanks for the add Nate :) It cost us a few minutes of figuring it out (ya know, engineers being engineers) ... figured it might save a few folks who flirt with Linux ...

On 06/01/2016 08:18 PM, NateCCIE wrote:
I know 11.5 is has is a lot improved with regard to cipher suites and enabling 4096 bit modulus.

Sent from my iPhone

On Jun 1, 2016, at 5:10 PM, Ryan Huff <<mailto:ryanhuff at outlook.com>ryanhuff at outlook.com<mailto:ryanhuff at outlook.com>> wrote:


This is an important FYI for anyone that uses OpenSSH, and by extension any software that uses OpenSSH. A coworker and I discovered this issue today by way of using Linux with OpenSSH as a SFTP>DRS target for UC Manager.


Applied to context; in the new OpenSSH 7.2p2, which you'll likely run into in recent, package managed Linux distributions (Ubuntu, Debian .... etc) OpenSSH has disabled weak crypto ciphers by default. Specifically; aes128-cbc, 3des-cbc,blowfish-cbc (and the use of no cipher) which as of CUCM 11.0.1.21900-11 are still being used.


If you hit this issue:


In UC Manager if you try to add a backup device that uses OpenSSH 7.2p2 you'll get, "unable to access SFTP server. Please check username and password". Thats because it is failing the key exchange with the OpenSSH server and getting spanked.


On the OpenSSH side, if you look in the output log (in Linux it is typically /var/log/auth.log) you'll see, "Jun  1 14:06:34 SERVER_HOST sshd[23578]: fatal: Unable to negotiate with XXX.XXX.XXX.XXX port 33934: no matching cipher found. Their offer: aes128-cbc,none,3des-cbc,blowfish-cbc [preauth]". The OpenSSH output is handy because it tells you exactly what the peer (UC Manager in this case) is looking for.


The solution is to add support for 1 or more of these ciphers back into the OpenSSH server configuration. Typical Linux distributions have this at /etc/ssh/sshd_config and it looks like, "Ciphers aes128-cbc,3des-cbc,blowfish-cbc". Just to err on the side of caution I would add a few of the ciphers that UC Manager is looking for.


Hope this saves some pain,

= Ryan =
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20160602/3489f789/attachment.html>


More information about the cisco-voip mailing list