-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CVE-2017-12896/ISAKMP: Do bounds checks in isakmp_rfc3948_print().
This fixes a buffer over-read discovered by Kamil Frankowicz. Add a test using the capture file supplied by the reporter(s).
- Loading branch information
1 parent
a1eefe9
commit f76e7fe
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432: | ||
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | ||
0x0010: 3030 3030 3030 3030 3030 3030 000000000000 | ||
IP 48.48.48.48.4500 > 48.48.48.48.12336: [|isakmp] |
Binary file not shown.