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.
Originally disclosed on HackerOne
- 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
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
- Obtain or craft a pcap file containing the malformed AOE packet.
- Run tcpdump against that pcap file.
- 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.