GLSA-200504-01 : telnet-bsd: Multiple buffer overflows

high Nessus Plugin ID 17675

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-200504-01 (telnet-bsd: Multiple buffer overflows)

A buffer overflow has been identified in the env_opt_add() function of telnet-bsd, where a response requiring excessive escaping can cause a heap-based buffer overflow. Another issue has been identified in the slc_add_reply() function, where a large number of SLC commands can overflow a fixed size buffer.
Impact :

Successful exploitation would require a vulnerable user to connect to an attacker-controlled host using telnet, potentially executing arbitrary code with the permissions of the telnet user.
Workaround :

There is no known workaround at this time.

Solution

All telnet-bsd users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/telnet-bsd-1.0-r1'

See Also

http://www.nessus.org/u?0f2f4fd7

http://www.nessus.org/u?69f65c02

https://security.gentoo.org/glsa/200504-01

Plugin Details

Severity: High

ID: 17675

File Name: gentoo_GLSA-200504-01.nasl

Version: 1.21

Type: local

Published: 4/2/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:telnet-bsd, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 4/1/2005

Vulnerability Publication Date: 3/28/2005

Reference Information

CVE: CVE-2005-0468, CVE-2005-0469

GLSA: 200504-01