在线求助Openssh MaxAuthTries限制绕过漏洞处理方法

查看网上很多文档,都说是如下:目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:http://www.openssh.com/ http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth2-chall.c.diff?r1=1.42&r2=1.43&f=h第一个是7.3的链接,第二个地址是一串代码比对如...显示全部

查看网上很多文档,都说是如下:

目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

http://www.openssh.com/

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth2-chall.c.diff?r1=1.42&r2=1.43&f=h

第一个是7.3的链接,第二个地址是一串代码比对如下:

Diff for /src/usr.bin/ssh/auth2-chall.c between version 1.42 and 1.43
version 1.42, 2015/01/19 20:07:45version 1.43, 2015/07/18 07:57:14

我现在的ssh -v 如下:

open SSH_6.0p1,openSSL1.0.1e 11 Feb

/src/usr.bin/ssh/auth2-chall.c的版本在我的系统里面怎么看了。

这个漏洞是修改这个文件吗? 如何修改啊,多谢各位大佬了。

收起
参与26

查看其它 8 个回答xfuhack的回答

xfuhackxfuhack系统工程师hcf
OpenSSH 7.3: August 1, 2016

https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-7.3.tar.gz

If you are installing OpenSSH 7.2 on 5.8, you will need the the following patch:
https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd58_7.3.patch.

# cd /usr/src/usr.bin
# tar zxvf .../openssh-7.3.tar.gz
# cd ssh
# patch -p0 < /path/to/openbsd58_7.3.patch # if on OpenBSD 5.8
# make obj
# make cleandir
# make depend
# make
# make install
# cp ssh_config sshd_config /etc/ssh

and restart sshd.



这个升级过程怎么怎么简单,和在网上查的别人的文档大不相同了?

系统集成 · 2016-11-16
浏览10365

回答者

xfuhack
系统工程师hcf
擅长领域: 服务器系统管理存储

xfuhack 最近回答过的问题

回答状态

  • 发布时间:2016-11-16
  • 关注会员:4 人
  • 回答浏览:10365
  • X社区推广