Problem
The telnet daemon /etc/telnetd is subject to a buffer overflow problem that could be used by a malicious user to gain unauthorized access to a system.
Solution
Please see the advisory below for details.
___________________________________________________________________________SCO, Inc. Security AdvisorySubject: OpenServer 5.0.5, 5.0.6: telnetd buffer overflow
Advisory number: CSSA-2001-SCO.10
Issue date: 2001 August 7
Cross reference:
___________________________________________________________________________1. Problem DescriptionThe telnet daemon /etc/telnetd is subject to a buffer overflow problem that could be used by a malicious user to gain unauthorized access to a system.
2. Vulnerable VersionsOperating System Version Affected Files
------------------------------------------------------------------
OpenServer 5 All /etc/telnetd3. WorkaroundNone.4. OpenServer4.1 Location of Fixed Binariesftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.10/4.2 Verificationmd5 checksums:a3fead5326b361cc9a94f0376fdf0f10 telnetd.Z
5e7d80c80b1ac2fcde9fc227f6793881 libresolv.so.1.Z
a5b4e98ace9c64b2129ca53688a98650 libsocket.so.2.Zmd5 is available for download from:ftp://stage.sco.com/pub/security/tools/4.3 Installing Fixed BinariesSave the erg711793a.Z compressed tar archive into /tmp, and install/upgrade the affected binaries with the following commands:
# cd /tmp
# uncompress erg711793a.Z
# tar xvf erg711793a
# uncompress telnetd
# mv /etc/telnetd /etc/telnetd.old
# cp telnetd /etc
# chown bin:bin /etc/telnetd
# chmod 711 /etc/telnetdIn addition, on any pre-5.0.6 system, or on any 5.0.6 system without rs506a, execute the following commands:
# uncompress libsocket.so.2
# uncompress libresolv.so.1
# cp libresolv.so.1 /usr/lib
# cp libsocket.so.2 /usr/lib
# chown bin:bin /usr/lib/libresolv.so.1
# chown bin:bin /usr/lib/libsocket.so.2
# chmod 555 /usr/lib/libresolv.so.1
# chmod 555 /usr/lib/libsocket.so.25. ReferencesThis, and other advisories are located at:
[link no longer available]This advisory addresses SCO Security internal incident sr849876.
6. DisclaimerSCO, Inc. is not responsible for the misuse of any of the information we provide on our website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.
7.AcknowledgementsSCO would like to thank Sebastian <scut@nb.in-berlin.de> for his posting on bugtraq, and KF <dotslash@snosoft.com> for reporting the problem to us.
___________________________________________________________________________