Operating System - HP-UX
1847254 Members
3997 Online
110263 Solutions
New Discussion

Telnet Daemon TERMCAP check

 
Printaporn_1
Esteemed Contributor

Telnet Daemon TERMCAP check

I am using HP-UX 11.0
for security auditing with cybercop , following is high risk result:

Description: This module determines whether the remote telnet daemon is vulnerable
to a buffer overflow attack in the tgetent library routine when parsing
a terminal capability file. By uploading an alternate TERMCAP file,
an attacker can specify the path to this file and cause the telnet
daemon to execute arbitrary commands.
Security Concerns: Remote attackers can obtain superuser access remotely by connecting
to the telnet daemon.
Suggestion: Affected vendors have released patches for this problem. If your
system is found to be vulnerable to this attack, contact your operating
system vendor for a patch or upgrade to a more recent release.
Additionally, upgrading to a version of libtermcap more recent than
2.0.8 or to a telnet daemon that relies on ncurses will eliminate this
vulnerability.
------------------

by the way I already install the latested telnet patch and cannot find any patch to resolved this risk.

please advise,
thanks
enjoy any little thing in my life
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Telnet Daemon TERMCAP check


This is not a risk on HPux 11.xx
Live Free or Die
Manuel P. Ron
Frequent Advisor

Re: Telnet Daemon TERMCAP check

Secure your telnet daemon allowing only incoming sessions from local networt (edit /var/adm/inetd.sec file). And monitorize logins and bad logins connections using last and lastb commands. Look permissions at /var/adm/bmtp and /var/adm/wtmp files.
Crash programs fail because they are based on the theory that, with nine women pregnant, you can get a baby a month. - Wernher von Braun
Ralf Hildebrandt
Valued Contributor

Re: Telnet Daemon TERMCAP check

telnetd is per se a security risk:
http://www.securityportal.com/cover/coverstory20000814.html

Disable it, and also tighten security by using tcp_wrappers.
Postfix/BIND/Security/IDS/Scanner, you name it...
Brian Markus
Valued Contributor

Re: Telnet Daemon TERMCAP check

Telnet by nature sends plain text through the network, which is sniffable, there are numerous other problems with telnet besides this. Try installing SSH or OpenSSH. It will provide you the same functionality with an encrypted data stream.
http://www.ssh.com
http://www.openssh.com

Hope this helps

Brian
When a sys-admin say's maybe, they don't mean 'yes'!