Bug 51135 - Possible traceroute6 security flaw
Summary: Possible traceroute6 security flaw
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iputils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-07 19:28 UTC by Chris Evans
Modified: 2015-03-05 01:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-08-16 14:51:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Evans 2001-08-07 19:28:10 UTC
Description of Problem:

Possible traceroute6 security flaw, demo follows
n.b. you need the ipv6 module loaded (luckily?)

[chris@localhost chris]$ /usr/sbin/traceroute6 ::1 8
traceroute to ::1 (::1) from ::1, 30 hops max, 8 byte packets
Segmentation fault

How Reproducible:

Every time

Steps to Reproduce:
As above.

Additional Information:
Looking at the code, this looks to be a heap mismanagement
flaw - data is written over the end of a malloc chunk. May
or may not be exploitable.
Note that traceroute6 drops root privs and just retains a
raw socket, so severity is limited.
I will notify vendor-sec shortly and cc: Alexey (iputils
maintainer).
Note, there might be other issues, I caught this via a
quick sanity scan since traceroute6 is a new suid-root
binary in RH7.2beta3

Comment 1 Glen Foster 2001-08-07 20:07:38 UTC
This defect is considered SHOULD-FIX for Fairfax

Comment 2 Phil Knirsch 2001-08-27 15:48:21 UTC
Fixed in iputils-20001110-6. Soon to appear on rawhide.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.