A remote vulnerability exists in the ssh daemon crc32 compensation attack detector. This vulnerability allows an attacker to overwrite arbitrary portions of memory. The altered memory locations affect code that is executed by the daemon with user ID 0 and can be leveraged to obtain general root access to the system.
Replace the ssh daemon with a corrected version of the daemon. Use the procedure below to implement the patch for currently shipping versions of the JUNOS software. The fixed code will be included in all future versions of the JUNOS software.
Corrected versions of the ssh daemon are available on the Juniper Networks ftp site, https://www.juniper.net/support/csc/swdist-domestic/updates/sshd.20010209. To download the corrected software, follow these steps:
user@lab> start shell
% su root@lab%
root@lab% cli user@lab>
user@lab> file copy ftp://ftp.juniper.net/private/junos/updates/sshd.20010209 sshd
user@lab> quit
root@lab% md5 ./sshd
root@lab% mv /usr/sbin/sshd /usr/sbin/sshd.old
root@lab% cp ./sshd /usr/sbin/sshd
root@lab% chown bin.bin /usr/sbin/sshd
root@lab% chmod 555 /usr/sbin/sshd command
root@lab% exit % exit user@lab>