SUSE-SA:2002:043: traceroute-nanog/nkitb

Medium Nessus Plugin ID 13764


The remote host is missing a vendor-supplied security patch


The remote host is missing the patch for the advisory SUSE-SA:2002:043 (traceroute-nanog/nkitb).

Traceroute is a tool that can be used to track packets in a TCP/IP network to determine it's route or to find out about not working routers.
Traceroute-nanog requires root privilege to open a raw socket. It does not relinquish these privileges after doing so. This allows a malicious user to gain root access by exploiting a buffer overflow at a later point.

For all products prior to 8.1, the traceroute package contains the NANOG implementation. This package is installed by default. Starting with 8.1, SUSE LINUX contains a traceroute program rewritten by Olaf Kirch that does not require root privileges anymore.
This version of traceroute is not vulnerable.

This is the first update for the traceroute package on the SUSE LINUX distributions 7.1 through 8.0. We have changed the version string in the update packages to read '6.x' instead of the former 'nanog_6.x' to enable a clean comparison between version numbers. This change is misleading in that it suggests that the package name has been changed.
Since only the version string is affected, the name of the package remains the same.

As a workaround you can remove the setuid bit or just allow trusted users to execute traceroute-nanog.
Become root and add the following line to /etc/permissions.local:
'/usr/sbin/traceroute root.trusted 4750' This line will keep the setuid root bit for /usr/sbin/traceroute and just allow users in group trusted to execute the binary.
To make the permission change and keep it permanent you have to run chkstat(8):
'chkstat -set /etc/permissions.local'

Please download the update package for your distribution and verify its integrity by the methods listed in section 3) of this announcement.
Then, install the package using the command 'rpm -Fhv file.rpm' to apply the update.


Plugin Details

Severity: Medium

ID: 13764

File Name: suse_SA_2002_043.nasl

Version: $Revision: 1.7 $

Agent: unix

Published: 2004/07/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

Vulnerability Information

Required KB Items: Host/SuSE/rpm-list