处理:使用man sshd_config查看Ciphers项可以看到sshd支持的算法(如下图所示)

 OpenSSH CBC模式信息泄露漏洞(CVE-2008-5161)【原理扫描】

 

 

处理办法是在sshd_config中配置Ciphers项,添加以下配置,然后重启sshd即可。

# vim /etc/ssh/sshd_config

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,arcfour

 OpenSSH CBC模式信息泄露漏洞(CVE-2008-5161)【原理扫描】

使用SSH针对CBC分组类型的加密算法进行检查,若最后出现如图的内容,则证明成功

#ssh -vv -oCiphers=aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc 127.0.0.1

 

OpenSSH CBC模式信息泄露漏洞(CVE-2008-5161)【原理扫描】

 

 

相关文章:

  • 2022-12-23
  • 2021-05-07
  • 2021-10-05
  • 2021-06-17
  • 2022-02-06
  • 2022-12-23
  • 2021-12-22
  • 2021-12-22
猜你喜欢
  • 2021-10-15
  • 2022-01-16
  • 2021-06-20
  • 2021-07-30
  • 2021-10-10
  • 2021-06-07
  • 2021-12-06
相关资源
相似解决方案