Segmentation fault on tcpick with fragmented IP packets

Bug #289976 reported by Gerard Wagener
260
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcpick (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

While parsing TCP packets generated by fragrouter (package fragrouter), (i.e F7 attack), tcpick does a segmentation fault. An attacker can thus evade from network forensics.

Candidate: 0.2.1-4ubuntu1
Hardy

Revision history for this message
Kees Cook (kees) wrote :

Thank you for using Ubuntu and taking the time to report a bug. Can you provide a specific reproducer for this problem? Also, please enable[1] Apport, and you can file a report from the crash itself.

[1] https://wiki.ubuntu.com/Apport#How%20to%20enable%20apport

Changed in tcpick (Ubuntu):
status: New → Incomplete
Revision history for this message
Gerard Wagener (haegardev) wrote :

Here is a pcap file that crashes tcpick even in intrepid (I changed Ubuntu in the mean time)

gwagen@gwagenlt:~/pcap-tests$ tcpick -wR -r F7-eth1.cap
Starting tcpick 0.2.1 at 2009-03-27 19:24 CET
Timeout for connections is 600
tcpick: reading from F7-eth1.cap
1 SYN-SENT 10.0.0.2:10361 > 10.0.1.2:0
2 SYN-SENT 10.0.0.2:0 > 10.0.1.2:0
3 SYN-SENT 10.0.0.2:0 > 10.0.1.2:0
4 SYN-SENT 10.0.0.2:56956 > 10.0.1.2:sieve
5 SYN-SENT 10.0.0.2:0 > 10.0.1.2:0
6 SYN-SENT 10.0.0.2:10061 > 10.0.1.2:0
7 SYN-SENT 10.0.0.2:0 > 10.0.1.2:0
4 SYN-RECEIVED 10.0.0.2:56956 > 10.0.1.2:sieve
Segmentation fault

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Supplied reproducer crashes tcpick on Jaunty.

Changed in tcpick (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Forwarded bug to upstream at <email address hidden>.

Revision history for this message
shapirus (me-ngeefk4xayt3t4u) wrote :

After having been unable to use tcpick for a few years now because of this bug, I am happy to share that it seems to be gone in the latest Xenial package. I rebuilt the source package taken from Xenial under Trusty, and it no longer crashes.

However, I haven't tried to test it with the provided pcap file. It has always crashed on me anytime right after receiving first packets, and now it doesn't. I am pretty sure it was all the same bug.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.