Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Sign up!
EnGarde Community
What is the most important Linux security technology?
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Latest Newsletters
Linux Advisory Watch: March 27th, 2015
Linux Security Week: March 23rd, 2015
LinuxSecurity Newsletters
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

NetBSD-SA1999-004 traceroute(1) problems Print E-mail
User Rating:      How can I rate this item?
Posted by Team   
NetBSD traceroute can create untraceable packet floods

                 NetBSD Security Advisory 1999-004

Topic:          traceroute can create untraceable packet floods
Version:        NetBSD 1.3.3 and prior; NetBSD-current until 19990217
Severity:       Unauthorized users can flood remote hosts with a forged
                source address.


By feeding traceroute(1) with invalid arguments the time delay
between packets sent is set to zero resulting in all packets sent out
very fast, possibly flooding the remote host with packets containing
a false source address.

Technical Details

When setting the wait time for each packet the argument was not
sanity checked possibly causing select(2) to return immediately
after sending out a packet instead of waiting for reply.  The
return value of a select(2) call was not properly checked causing
a flood of packets to be sent to the remote host.  This is
exacerbated by the fact that traceroute(1) allowed non-root users
to set the source address for these packets, allowing them to appear
to come from any address, possibly making it extremely difficult to
identify the real source of the flood.

Solutions and Workarounds

A patch is available for the NetBSD 1.3.3 source, which fixes the
above problems.  You may find this patch on the NetBSD ftp server:


The patch contains details on how to apply it.  As a temporary measure,
you can allow only privileged users to run traceroute by disabling its
setuid bit:

    chmod u-s /usr/sbin/traceroute

Thanks To

Thanks go out to the members of the Bugtraq mailing list where this
problem was first discussed.  Also, many thanks to Curt Sampson 
 who fixed the problem in NetBSD-current and to
Hubert Feyrer  for the patch to NetBSD-1.3.3
and the coordination of this security advisory.

More Information

Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.ORG/ and http://www.NetBSD.ORG/Security/.

Copyright 1999, The NetBSD Foundation, Inc.  All Rights Reserved.

$NetBSD: NetBSD-SA1999-004.txt,v 1.1 1999/02/28 00:45:56 mrg Exp $

Version: 2.6.3ia
Charset: noconv

< Prev   Next >


Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2015 Guardian Digital, Inc. All rights reserved.