diff options
author | Michael Richardson <mcr@sandelman.ca> | 2015-02-15 21:22:11 -0500 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-10 23:15:50 -0700 |
commit | 192fabf4bd08e17b4be6f0283508b19adfa08afb (patch) | |
tree | 34bce53b9a4170a0c802302dd36f4c121f43bb80 /tests | |
parent | 2d26a39f6739b06ca5fafb5da7841d2952c019fd (diff) | |
download | tcpdump-192fabf4bd08e17b4be6f0283508b19adfa08afb.tar.gz |
test case for cve2015-0261 -- corrupted IPv6 mobility header
Author: Michael Richardson <mcr@sandelman.ca>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TESTLIST | 14 | ||||
-rw-r--r-- | tests/cve2015-0261-crash.out | 1 | ||||
-rw-r--r-- | tests/cve2015-0261-crash.pcap | bin | 0 -> 201 bytes | |||
-rw-r--r-- | tests/cve2015-0261-ipv6.out | 1 | ||||
-rw-r--r-- | tests/cve2015-0261-ipv6.pcap | bin | 0 -> 682 bytes |
5 files changed, 16 insertions, 0 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST index 472468c5..788d532d 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -267,3 +267,17 @@ geneve-tcp geneve.pcap geneve-tcp.out -t "geneve && tcp" # DHCP tests dhcp-rfc3004 dhcp-rfc3004.pcap dhcp-rfc3004-v.out -t -v dhcp-rfc5859 dhcp-rfc5859.pcap dhcp-rfc5859-v.out -t -v + +# bad packets from Kevin Day +kday1 kday1.pcap kday1.out -t -v +kday2 kday2.pcap kday2.out -t -v +kday3 kday3.pcap kday3.out -t -v +kday4 kday4.pcap kday4.out -t -v +kday5 kday5.pcap kday5.out -t -v +kday6 kday6.pcap kday6.out -t -v +kday7 kday7.pcap kday7.out -t -v +kday8 kday8.pcap kday8.out -t -v + +# bad packets from reversex86. +cve2015-0261_01 cve2015-0261-ipv6.pcap cve2015-0261-ipv6.out -t -v +cve2015-0261_02 cve2015-0261-crash.pcap cve2015-0261-crash.out -t -v diff --git a/tests/cve2015-0261-crash.out b/tests/cve2015-0261-crash.out new file mode 100644 index 00000000..1946280c --- /dev/null +++ b/tests/cve2015-0261-crash.out @@ -0,0 +1 @@ +IP6 (class 0x03, flowlabel 0x03030, hlim 48, next-header Options (0) payload length: 12336) 3030:3030:3030:3030:3030:3030:3030:3030 > 130:3030:3030:3030:3030:3030:3030:3030: HBH [trunc] (header length 8 is too small for type 1)[|MOBILITY] diff --git a/tests/cve2015-0261-crash.pcap b/tests/cve2015-0261-crash.pcap Binary files differnew file mode 100644 index 00000000..c876c1ff --- /dev/null +++ b/tests/cve2015-0261-crash.pcap diff --git a/tests/cve2015-0261-ipv6.out b/tests/cve2015-0261-ipv6.out new file mode 100644 index 00000000..5edcddac --- /dev/null +++ b/tests/cve2015-0261-ipv6.out @@ -0,0 +1 @@ +EXIT CODE 00000100 diff --git a/tests/cve2015-0261-ipv6.pcap b/tests/cve2015-0261-ipv6.pcap Binary files differnew file mode 100644 index 00000000..a8a32ba9 --- /dev/null +++ b/tests/cve2015-0261-ipv6.pcap |