GLSA Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Tue Oct 05, 2004 6:56 pm Post subject: [ GLSA 200410-03 ] NetKit-telnetd: buffer overflows in telne |
|
|
Gentoo Linux Security Advisory
Title: NetKit-telnetd: buffer overflows in telnet and telnetd (GLSA 200410-03)
Severity: high
Exploitable: remote
Date: October 05, 2004
Bug(s): #64632
ID: 200410-03
Synopsis
Buffer overflows exist in the telnet client and daemon provided by netkit-telnetd, which could possibly allow a remote attacker to gain root privileges and compromise the system.
Background
NetKit-telnetd is a standard Linux telnet client and server from the NetKit utilities.
Affected Packages
Package: net-misc/netkit-telnetd
Vulnerable: <= 0.17-r3
Unaffected: >= 0.17-r4
Architectures: All supported architectures
Description
A possible buffer overflow exists in the parsing of option strings by the telnet daemon, where proper bounds checking is not applied when writing to a buffer. Additionaly, another possible buffer overflow has been found by Josh Martin in the handling of the environment variable HOME.
Impact
A remote attacker sending a specially-crafted options string to the telnet daemon could be able to run arbitrary code with the privileges of the user running the telnet daemon, usually root. Furthermore, an attacker could make use of an overlong HOME variable to cause a buffer overflow in the telnet client, potentially leading to the local execution of arbitrary code.
Workaround
There is no known workaround at this time.
Resolution
All NetKit-telnetd users should upgrade to the latest version: Code: | # emerge sync
# emerge -pv ">=net-misc/netkit-telnetd-0.17-r4"
# emerge ">=net-misc/netkit-telnetd-0.17-r4" |
References
CVE-2001-0554
Debian Bug #264846
Last edited by GLSA on Sun May 07, 2006 4:52 pm; edited 1 time in total |
|