search menu icon-carat-right cmu-wordmark

CERT Coordination Center

tcpdump contains buffer overflow vulnerability in ISAKMP "Delete Payload" handling

Vulnerability Note VU#240790

Original Release Date: 2004-08-27 | Last Revised: 2004-08-27

Overview

A vulnerability in tcpdump could allow a remote attacker to cause a denial of service on an affected system.

Description

The tcpdump tool allows for the inspection of network packets and contains decoders for many standard protocols, including the Internet Security Association and Key Management Protocol (ISAKMP). The ISAKMP standard specifies:

The Delete Payload contains a protocol-specific security association identifier that the sender has removed from its security association database and is, therefore, no longer valid. [...] It is possible to send multiple Security Parameter Index(es) (SPIs) in a Delete payload [...]

To this end, the format of the "Delete Payload" contains a "# of SPIs" field, specified as two octets. A buffer overflow flaw exists in the way that tcpdump's ISAKMP decoder handles malformed ISAKMP packets specifying an overly large number of SPIs for deletion. Such malformed packets could cause tcpdump to read out of bounds and crash. This condition is only exploitable if tcpdump is invoked with the verbose display option, '-v'.

Impact

A remote attacker could cause tcpdump to crash.

Solution

Apply a patch from the vendor

Patches have been released to address this issue. Please see the Systems Affected section of this document for more details.

Vendor Information

240790
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was discovered by Rapid7 using their Striker test suite.

This document was written by Chad R Dougherty based on information published in Rapid7 Advisory R7-0017.

Other Information

CVE IDs: CVE-2004-0183
Severity Metric: 1.69
Date Public: 2004-03-30
Date First Published: 2004-08-27
Date Last Updated: 2004-08-27 13:27 UTC
Document Revision: 14

Sponsored by CISA.