J-Security Center

Title: Multiple Vendor mtr Vulnerability

Severity: MODERATE

Description:

A potential vulnerability exists in the 'mtr' program, by Matt Kimball and Roger Wolff. Versions prior to 0.42 incorrectly dropped privileges on all Unix variants except HPUX. By calling a seteuid(getuid()) call, the authors hoped to drop permissions to prevent the obtaining of root privilege should there be potential vulnerabilities in mtr or a library it depends on. However, due to saved uid semantics, the uid of 0 can be recovered simply by doing a setuid(0). An attacker would only need to find an overflow in one of the libraries mtr uses, such as gtk or curses. In patched versions, the seteuid() call has been changed to setuid(). This will eliminate this potential problem.

It has been suggested that most Linux distributions which include mtr utilize version 0.28. This version is vulnerable. Please consult your distribution website for more information.

Affected Products:

  • Matt Kimball and Roger Wolff mtr 0.28.0
  • Matt Kimball and Roger Wolff mtr 0.41.0
  • Turbolinux Turbolinux 3.5.0b2
  • Turbolinux Turbolinux 4.2.0
  • Turbolinux Turbolinux 4.4.0
  • Turbolinux Turbolinux 6.0.2

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.