Vulnerability Note VU#498440
Multiple TCP/IP implementations may use statistically predictable initial sequence numbers
Overview
Attacks against TCP initial sequence number generation have been discussed for some time now. It has long been recognized that the ability to know or predict ISNs can lead to TCP connection hijacking or spoofing. What was not previously illustrated was just how predictable one commonly-used method of randomizing new connection ISNs is in some modern TCP/IP implementations.
Description
The CERT/CC has received a report from Guardent, Inc. concerning an observed statistical weakness in initial sequence number (ISN) generation for TCP connections. Guardent asserts in copyrighted research forwarded to us that incrementing the ISN by some series of pseudo-random amounts is insufficient to protect some TCP implementations from a practical ISN guessing attack in some real-world situations. Such attacks would not rely on data collected (sniffed) from a a victim site. These observations and statistical analyses provide empirical data which draw attention to the protocol analysis documented by Steve Bellovin (building on work pioneered by Robert Morris), culminating in RFC1948. In RFC1948, Steve noted: |
Impact
If the ISN of an existing connection can be determined within some practical range, a malicious agent may be able to close or hijack the connection. If the ISNs of future connections are targeted, an agent may be able to "complete" a TCP three-way handshake and spoof TCP packets delivered to a victim. |
Solution
Deploy IPsec. |
Implement the suggestions in RFC1948, namely the segmentation of the ISN space on a per-host, per-connection basis using cryptographic hashed secrets. |
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Beckwith Electric | Affected | - | 20 Oct 2015 |
| FreeBSD, Inc. | Affected | 08 Mar 2001 | 12 Sep 2002 |
| Fujitsu | Affected | 08 Mar 2001 | 22 Apr 2001 |
| Hewlett-Packard Company | Affected | 08 Mar 2001 | 12 Sep 2002 |
| OpenBSD | Affected | 08 Mar 2001 | 19 Apr 2001 |
| SGI | Affected | - | 20 Mar 2002 |
| Sun Microsystems, Inc. | Affected | 08 Mar 2001 | 12 Sep 2002 |
| Wind River | Affected | - | 20 Oct 2015 |
| IBM Corporation | Not Affected | 08 Mar 2001 | 19 Apr 2001 |
| Apple Computer, Inc. | Unknown | 08 Mar 2001 | 12 Sep 2002 |
| Berkeley Software Design, Inc. | Unknown | 08 Mar 2001 | 12 Sep 2002 |
| Cisco Systems, Inc. | Unknown | 08 Mar 2001 | 12 Sep 2002 |
| Data General | Unknown | 08 Mar 2001 | 12 Sep 2002 |
| Microsoft Corporation | Unknown | 08 Mar 2001 | 12 Sep 2002 |
| NetBSD | Unknown | 08 Mar 2001 | 12 Sep 2002 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
| Temporal | 4.8 | E:F/RL:OF/RC:C |
| Environmental | 3.6 | CDP:ND/TD:M/CR:ND/IR:ND/AR:ND |
References
- CA-1995-01
- http://www.cert.org/advisories/CA-1995-01.html
- ftp://research.att.com/dist/internet_security/117.ps.Z
- http://pdos.csail.mit.edu/~rtm/papers/117.pdf
- ftp://research.att.com/dist/internet_security/ipext.ps.Z
- https://www.cs.columbia.edu/~smb/papers/ipext.pdf
- https://cseweb.ucsd.edu/classes/sp99/cse227/ipext.pdf
- http://lcamtuf.coredump.cx/oldtcp/
- http://lcamtuf.coredump.cx/newtcp/
- ftp://ftp.isi.edu/in-notes/rfc1948.txt
- ftp://ftp.isi.edu/in-notes/rfc793.txt
- ftp://ftp.isi.edu/in-notes/rfc1323.txt
- ftp://ftp.isi.edu/in-notes/rfc1750.txt
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0077
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0328
- http://xforce.iss.net/static/139.php
- http://www.usenix.com/publications/library/proceedings/security95/full_papers/joncheray.txt
- http://www.guardent.com/pr2001-03-12-ips.html
- https://www.usenix.org/legacy/publications/library/proceedings/security95/full_papers/joncheray.txt
- https://ics-cert.us-cert.gov/advisories/ICSA-15-169-01
- https://ics-cert.us-cert.gov/advisories/ICSA-15-153-01
Credit
The CERT/CC thanks the following individuals and organizations for their contributions to this advisory:
- Steve Bellovin, AT&T Labs
- CVE IDs: CVE-2001-0328
- CERT Advisory: CA-2001-09
- Date Public: 12 Mar 2001
- Date First Published: 13 Mar 2001
- Date Last Updated: 20 Oct 2015
- Severity Metric: 15.19
- Document Revision: 82
Tim Newsham, Guardent, Inc.
BindView
Niels Provohs
This document was written by Jeffrey S. Havrilla.
Other Information
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.