search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Cisco IOS OSPF neighbor IO buffer overflow

Vulnerability Note VU#959203

Original Release Date: 2005-08-02 | Last Revised: 2005-08-31

Overview

Cisco Internetwork Operating System (IOS) is the operating system for the majority of Cisco routers. Open Shortest-Path First (OSPF) is a interior routing protocol. A flaw in some Cisco IOS versions can allow a buffer overflow when handling a large number of OSPF neighbor connection requests.

Description

In OSPF (defined by RFC 1247), adjacent routers connect as "neighbors" to exchange routing information. Older versions of Cisco IOS, specifically v11.1 through 12.0, do not securely handle a large number of neighbors (more than 255). If an attacker configures more than 255 hosts (or spoofs that many) to try to become OSPF neighbors of a router running a vulnerable version of Cisco IOS, a table overflows. An attacker must be able to send OSPF packets to the router.

Impact

An attacker can cause a denial of service. It may be possible to execute arbitrary shell code.

Solution

Upgrade

Upgrade to a version of IOS after v12.0.


Workaround

Filter OSPF Packets

If upgrading is problematic, you can configure the router to filter OSPF packets. OSPF communicates using the IP protocol "ospf" and can be filtered as that protocol. Unlike TCP-based and UDP-based protocols, no port number is required. See Cisco's Response for its instructions on how to configure the filtering.

Vendor Information

959203
 

Cisco Systems Affected

Updated:  August 10, 2005

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

According to Cisco's public statement:, IOS v.11.1 through 12.0 are subject to this vulnerability.

Upgrade

Upgrade to a verion of IOS after v12.0.

Filter OSPF Packets

If upgrading is problematic, you can configure the router to filter OSPF packets. OSPF communicates using the IP protocol "ospf" and can be filtered as that protocol. Unlike TCP-based and UDP-based protocols, no port number is required. See Cisco's public statement for its instructions on how to configure the filtering.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This issue was first reported by FX of Phenoelit Group.

This document was written by Hal Burch.

Other Information

CVE IDs: CVE-2003-0100
Severity Metric: 43.20
Date Public: 2002-12-27
Date First Published: 2005-08-02
Date Last Updated: 2005-08-31 18:31 UTC
Document Revision: 30

Sponsored by CISA.