search menu icon-carat-right cmu-wordmark

CERT Coordination Center

tcpdump contains integer underflow vulnerability in ISAKMP "Identification Payload" handling

Vulnerability Note VU#492558

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 "Identification Payload" contains information used for determining the identities of communicating peers and may be used for determining authenticity of information. A flaw exists in the way that tcpdump's ISAKMP decoder handles ISAKMP packets with a malformed Identification Payload. According to the Rapid7 advisory about this issue:

An ISAKMP packet with a malformed Identification payload with a self-reported payload length that becomes less than 8 when its byte order is reversed will cause TCPDUMP to crash as it tries to read from beyond the end of the snap buffer. TCPDUMP must be using a snaplen of 325 or greater for this underflow to be triggered.

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

492558
 

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-0184
Severity Metric: 1.69
Date Public: 2004-03-30
Date First Published: 2004-08-27
Date Last Updated: 2004-08-27 13:26 UTC
Document Revision: 16

Sponsored by CISA.