Gentoo Logo

mtr: Stack-based buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200806-01 / mtr
Release Date June 03, 2008
Latest Revision June 03, 2008: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/mtr < 0.73-r1 >= 0.73-r1 All supported architectures

Related bugreports: #223017

Synopsis

A stack-based buffer overflow was found in mtr, possibly resulting in the execution of arbitrary code.

2.  Impact Information

Background

mtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.

Description

Adam Zabrocki reported a boundary error within the split_redraw() function in the file split.c, possibly leading to a stack-based buffer overflow.

Impact

A remote attacker could use a specially crafted resolved hostname to execute arbitrary code with root privileges. However, it is required that the attacker controls the DNS server used by the victim, and that the "-p" (or "--split") command line option is used.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All mtr users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/mtr-0.73-r1"

4.  References



Print

Updated June 03, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL

Support OSL

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

Global Netoptex Inc.

Global Netoptex Inc.

Bytemark

Bytemark

Copyright 2001-2008 Gentoo Foundation, Inc. Questions, Comments? Contact us.