Users login

Create an account »


Users login

Home » Hacking News » FreeBSD-SA-02:31-openssh contains remote vulnerability

FreeBSD-SA-02:31-openssh contains remote vulnerability

by Nikola Strahija on July 16th, 2002 OpenSSH is a free implementation of the SSH protocol suite, and provides encrypted and authenticated remote login, file transfer and command execution.

II. Problem Description

SSH clients and servers communicate by exchanging discrete messages
with a variable number of parameters. Due to the lack of sufficient
integrity checks in a portion of the server code responsible for
handling incoming SSH2_MSG_USERAUTH_INFO_RESPONSE messages, it was
possible for a malicious client to send a message that would cause the
server to overwrite portions of its memory with client-provided data.

III. Impact

An remote attacker using an SSH client modified to send carefully
crafted SSH2_MSG_USERAUTH_INFO_RESPONSE to the server could obtain
superuser privileges on the server.

Please note that this problem only affects FreeBSD-CURRENT. No
versions of FreeBSD-STABLE are or were ever vulnerable to this bug.

IV. Workaround

Do one of the following:

1) Disable SSH entirely.

2) Use a firewall to block incoming SSH connections from untrusted

3) Add the following line to /etc/ssh/sshd_config, and restart sshd.

ChallengeResponseAuthentication no

Note that this will prevent the use of OPIE and similar challenge-
based authentication methods with SSH.

V. Solution

Update your system to the latest -CURRENT.

VI. Correction details

No correction details are provided in this advisory.

VII. References

Version: GnuPG v1.0.7 (FreeBSD)
Comment: FreeBSD: The Power To Serve


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »