Skip to content
Memory corruption Disclosed report Advanced CVE-2017-16808

tcpdump before 4.9.3 has a heap-based buffer over-read related to aoe_print in print-aoe.c and lookup_emem in addrtoname.c

tcpdump before 4.9.3 contains a heap-based buffer over-read in the AOE printer and address lookup code. An attacker could trigger it by supplying a crafted pcap file or by sending matching traffic to an interface tcpdump is listening on.

dotsecurity Follow

Originally disclosed on HackerOne

Bounty$500 Medium View original
  • Fixed in 16 months
  • Paid in 16 months
  • Disclosed after 16 months

There seems to be a heap-based buffer overread while running tcpdump on a crafted pcap file. A similar behavior is seen when tcpdump is listening on an interface and the contents of this file is relayed over the network.

Please find the detailed report on github https://github.com/the-tcpdump-group/tcpdump/issues/645

CVE: https://nvd.nist.gov/vuln/detail/CVE-2017-16808

Impact

Heap Over Read

The original report as published on HackerOne, by dotsecurity. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

The impact is a heap-based buffer over-read; the text does not describe further consequences.

What the attacker needed

Tcpdump before 4.9.3; crafted pcap file or matching network traffic

How it was found

  1. Obtain or craft a pcap file containing the malformed AOE packet.
  2. Run tcpdump against that pcap file.
  3. Alternatively, relay the file contents over a network interface that tcpdump is listening on.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A buffer over-read means the program reads past the end of a memory block. Here a malformed packet makes tcpdump read beyond a heap buffer.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by dotsecurity

View all

2 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.