SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#102014

Optimistic TCP acknowledgements can cause denial of service

Overview

A vulnerability in the TCP congestion control mechanism could be leveraged by an attacker to cause a denial of service.

I. Description

The Transmission Control Protocol (TCP) is described in RFC 793 as a means to provide reliable host-to-host transmission between hosts in a packet-switched computer network. Numerous Internet protocols such as HTTP, SMTP, and FTP rely on TCP as their underlying transport protocol. Several different TCP congestion control mechanisms are specified in RFC 2581.

In the course of normal operation a TCP client acknowledges (ACKs) the receipt of packets sent to it by the server. A TCP sender varies its transmission rate based on receiving ACKs of the packets it sends. An optimistic ACK is an ACK sent by a client for a data segment that it has not yet received. A vulnerability exists in the potential for a client to craft optimistic ACKs timed in such a way that they correspond to legitimate packets that the sender has already injected into the network (often referred to as "in-flight" packets). As a result, the sender believes that the transfer is progressing better than it actually is and may increase the rate at which it sends packets. An important side effect of this condition is the amplification factor that it introduces. An attacker exploiting this vulnerability can potentially cause victims to transmit much more data than the bandwidth available to the attacker.

This condition was first described in 1999 by Savage, Cardwell, Wetherall, and Anderson in their paper, "TCP Congestion Control with a Misbehaving Receiver". Although this paper briefly mentioned the possibility of using this condition to mount a denial-of-service attack, it did not develop the details of the attack. In 2005, Sherwood, Bhattacharjee, and Braud published a paper entitled, "Misbehaving TCP Receivers Can Cause Internet-Wide Congestion Collapse", that examines the extent of the potential impact of an attack using this vulnerability.

II. Impact

A remote attacker can cause a TCP sender to transmit packets faster than it would in the course of a normal connection. The victim could potentially exhaust its network bandwidth, thereby resulting in a denial of service. In an attack involving multiple victims, the aggregate volume of generated traffic may cause congestion or a bandwidth exhaustion denial of service to intermediate transit network providers as well.

III. Solution

The CERT/CC is currently unaware of a practical solution to this problem.

Workarounds

Connection Throttling
Network administrators should consider implementing per-connection throttling or other forms of traffic shaping for services on their network that could be exploited. While this workaround does not remove the underlying vulnerability, it forces an attacker to use more hosts in order to have the same overall impact.

TCP Implementation Changes
The second paper listed above proposes several implementation changes to mitigate this vulnerability. In particular, the authors suggest a strategy of randomly dropping segments on the sender. By doing this, receivers that ACK packets that are intentionally dropped by the sender can reliably be identified as misbehaving. The authors have provided a patch that implements this workaround for Linux 2.4.24 kernel.
It is important to note that these implementation changes have not been ratified by relevant standards bodies such as the IETF. Implementors and administrators should exercise careful consideration and be especially aware of unintended side effects when choosing to implement these implementation changes.

Systems Affected

VendorStatusDate Updated
3com, Inc.Unknown2-Sep-2005
AlcatelUnknown2-Sep-2005
Apple Computer, Inc.Unknown2-Sep-2005
AT&TUnknown2-Sep-2005
Avaya, Inc.Unknown2-Sep-2005
Avici Systems, Inc.Unknown2-Sep-2005
Borkerware TechnologiesUnknown2-Sep-2005
Charlotte's Web NetworksUnknown2-Sep-2005
Check Point Software TechnologiesUnknown2-Sep-2005
Chiaro Networks, Inc.Unknown2-Sep-2005
Cisco Systems, Inc.Unknown2-Sep-2005
Computer AssociatesUnknown2-Sep-2005
Conectiva Inc.Unknown26-Oct-2005
Cray Inc.Unknown2-Sep-2005
D-Link Systems, Inc.Unknown2-Sep-2005
Data Connection, Ltd.Unknown2-Sep-2005
Debian LinuxUnknown2-Sep-2005
EMC, Inc. (formerly Data General Corporation)Unknown2-Sep-2005
Engarde Secure LinuxUnknown2-Sep-2005
EricssonUnknown2-Sep-2005
eSoft, Inc.Unknown2-Sep-2005
Extreme NetworksUnknown2-Sep-2005
F5 Networks, Inc.Unknown2-Sep-2005
Fedora ProjectUnknown26-Oct-2005
Force10 Networks, Inc.Unknown2-Sep-2005
Fortinet, Inc.Unknown2-Sep-2005
Foundry Networks, Inc.Unknown2-Sep-2005
FreeBSD, Inc.Unknown2-Sep-2005
FujitsuUnknown2-Sep-2005
Gentoo LinuxUnknown26-Oct-2005
Global Technology AssociatesUnknown2-Sep-2005
GNU netfilterUnknown2-Sep-2005
Hewlett-Packard CompanyUnknown2-Sep-2005
HitachiUnknown2-Sep-2005
HyperchipUnknown2-Sep-2005
IBM CorporationUnknown2-Sep-2005
IBM Corporation (zseries)Unknown2-Sep-2005
IBM eServerUnknown2-Sep-2005
Immunix Communications, Inc.Unknown2-Sep-2005
Ingrian Networks, Inc.Unknown2-Sep-2005
Intel CorporationUnknown2-Sep-2005
Internet Security Systems, Inc.Unknown2-Sep-2005
IntotoUnknown2-Sep-2005
IP FilterUnknown2-Sep-2005
Juniper Networks, Inc.Unknown2-Sep-2005
Linksys (A division of Cisco Systems)Unknown2-Sep-2005
Lucent TechnologiesUnknown2-Sep-2005
Luminous NetworksUnknown2-Sep-2005
Mandriva, Inc.Unknown2-Sep-2005
Mandriva, Inc.Unknown2-Sep-2005
Microsoft CorporationUnknown2-Sep-2005
MontaVista Software, Inc.Unknown2-Sep-2005
Multinet (owned Process Software Corporation)Unknown2-Sep-2005
Multitech, Inc.Unknown2-Sep-2005
NEC CorporationUnknown2-Sep-2005
NetBSDUnknown2-Sep-2005
Network Appliance, Inc.Unknown2-Sep-2005
NextHop Technologies, Inc.Unknown2-Sep-2005
Nortel Networks, Inc.Unknown2-Sep-2005
Novell, Inc.Unknown2-Sep-2005
OpenBSDUnknown2-Sep-2005
Openwall GNU/*/LinuxUnknown2-Sep-2005
QNX, Software Systems, Inc.Unknown2-Sep-2005
Red Hat, Inc.Unknown2-Sep-2005
Redback Networks, Inc.Unknown2-Sep-2005
Riverstone Networks, Inc.Unknown2-Sep-2005
Secure Computing Network Security DivisionUnknown2-Sep-2005
Sequent Computer Systems, Inc.Unknown2-Sep-2005
Silicon Graphics, Inc.Unknown2-Sep-2005
Slackware Linux Inc.Unknown26-Oct-2005
Sony CorporationUnknown2-Sep-2005
StoneSoft, Inc.Unknown2-Sep-2005
Sun Microsystems, Inc.Vulnerable3-Nov-2005
SUSE LinuxUnknown2-Sep-2005
Symantec, Inc.Unknown2-Sep-2005
The SCO GroupUnknown26-Oct-2005
The SCO Group (SCO Linux)Unknown2-Sep-2005
The SCO Group (SCO Unix)Unknown2-Sep-2005
Trustix Secure LinuxUnknown26-Oct-2005
TurbolinuxUnknown2-Sep-2005
UbuntuUnknown26-Oct-2005
UNISYSUnknown2-Sep-2005
Watchguard Technologies, Inc.Unknown2-Sep-2005
Wind River Systems, Inc.Unknown2-Sep-2005
ZyXELUnknown2-Sep-2005

References


http://www.cs.umd.edu/~capveg/optack/optack-ccs05.pdf
http://www.cs.umd.edu/~capveg/optack/optack-extended.pdf
http://www.cs.ucsd.edu/~savage/papers/CCR99.pdf
http://jvn.jp/cert/JVNVU%23102014/index.html

Credit

Thanks to Rob Sherwood of the University of Maryland for reporting this vulnerability and researching its associated exploitation methods. The CERT/CC acknowledges Stefan Savage, Neal Cardwell, David Wetherall, and Tom Anderson for the original publication of the underlying protocol issue that causes the vulnerability.

This document was written by Chad Dougherty. Additional technical feedback and assistance with this vulnerability was provided by Hal Burch and Art Manion.

Other Information

Date Public11/10/2005
Date First Published11/10/2005 06:31:39 PM
Date Last Updated11/10/2005
CERT Advisory 
CVE Name 
US-CERT Technical Alerts 
Metric10.50
Document Revision27

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2005 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader