GLSA-200410-03 : NetKit-telnetd: buffer overflows in telnet and telnetd

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200410-03
(NetKit-telnetd: buffer overflows in telnet and telnetd)

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.

See also :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=264846
http://www.gentoo.org/security/en/glsa/glsa-200410-03.xml

Solution :

All NetKit-telnetd users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=net-misc/netkit-telnetd-0.17-r4'
# emerge '>=net-misc/netkit-telnetd-0.17-r4'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 15424 (gentoo_GLSA-200410-03.nasl)

Bugtraq ID:

CVE ID: CVE-2001-0554