CERT® Incident Note IN-2001-12The CERT Coordination Center publishes incident notes to provide information about incidents to the Internet community.
Exploitation of vulnerability in SSH1 CRC-32 compensation attack detectorOriginal release Date: November 5, 2001
Last revised: November 7, 2001
The CERT/CC has received multiple reports of systems being compromised via the CRC-32 compensation attack detector vulnerability described in VU#945216. We are also receiving reports of increased scanning activity for the SSH service (22/tcp).
In reports received by the CERT/CC, systems compromised via this vulnerablity have exhibited the following pattern in system log messages:
The exploit for this vulnerability appears to use a brute force method, so many messages of this type may be logged before a system is successfully compromised.
The following artifacts have been discovered on systems that were successfully compromised:
III. ImpactAn intruder can execute arbitrary code with the privileges of the SSH daemon, typically root.
Apply a patchPlease refer to the vendor information contained in VU#945216 for information on available patches. In cases where patches are not available, the CERT/CC recommends upgrading to the latest version of the appropriate secure shell software package.
Disable SSHv1 fallback supportBecause the vulnerability affects software handling the SSHv1 protocol, sites may wish to enable SSHv2 support only and disable SSHv1 fallback support. Refer to your secure shell server software documentation for information about how to accomplish this.
Disabling SSHv1 support is generally a good practice, since a number of other vulnerabilities exist in the SSHv1 protocol itself and software handling of this protocol.
Restrict access to the secure shell service
Until a patch can be applied, you may wish to restrict access to the secure shell service. This can be accomplished by applying packet filters for port 22/tcp at your network perimeter. While this measure will limit your exposure to attacks, blocking port 22/tcp at a network perimeter would still allow attackers within the perimeter of your network to exploit the vulnerability. It is important to understand your network's configuration and service requirements before deciding what changes are appropriate.
In cases where applying packet filters is not feasible, host-based access control can be used. Some secure shell implementations support builtin access control by means of the AllowHosts directive in the SSH server configuration file. If this support is not available, software such as Wietse Venema's TCP Wrappers can be used to restrict access to the secure shell daemon.
If you believe a host under your control has been compromised, you may wish to refer to
Author(s): Roman Danyliw, Chad Dougherty, John Shaffer
CERT/CC Contact Information
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
We strongly urge you to encrypt sensitive information sent by email. Our public PGP key is available from
Getting security informationCERT publications and other security information are available from our web site
firstname.lastname@example.org. Please include in the body of your message
* "CERT" and "CERT Coordination Center" are registered in the U.S. Patent and Trademark Office.
Any material furnished by Carnegie Mellon University and the Software Engineering Institute is furnished on an "as is" basis. Carnegie Mellon University makes no warranties of any kind, either expressed or implied as to any matter including, but not limited to, warranty of fitness for a particular purpose or merchantability, exclusivity or results obtained from use of the material. Carnegie Mellon University does not make any warranty of any kind with respect to freedom from patent, trademark, or copyright infringement.
Conditions for use, disclaimers, and sponsorship information
Copyright 2001 Carnegie Mellon University.
November 5, 2001: Initial Release November 7, 2001: Avoid confusion between commercial product and general terms