Technical article 115384

What is CSSA-2001-SCO.10, concerning "telnetd buffer overflow"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

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 Advisory
Subject:                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 Description

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.

2. Vulnerable Versions
Operating System        Version         Affected Files
------------------------------------------------------------------
OpenServer 5            All             /etc/telnetd
3. Workaround
None.
4. OpenServer
4.1 Location of Fixed Binaries
ftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.10/
4.2 Verification
md5 checksums:
a3fead5326b361cc9a94f0376fdf0f10        telnetd.Z
5e7d80c80b1ac2fcde9fc227f6793881        libresolv.so.1.Z
a5b4e98ace9c64b2129ca53688a98650        libsocket.so.2.Z
md5 is available for download from:
ftp://stage.sco.com/pub/security/tools/
4.3 Installing Fixed Binaries

Save 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/telnetd

In 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.2
5. References

This, and other advisories are located at:

[link no longer available]

This advisory addresses SCO Security internal incident sr849876.

6. Disclaimer

SCO, 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.Acknowledgements

SCO 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.

___________________________________________________________________________

From the Xinuos technical article database, record 115384. Reproduced with permission. The original is at www.sco.com/ta/115384, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.