Technical article 116482

What is CSSA-2001-SCO.40, concerning the "/bin/login and /etc/getty argument buffer overflow"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

A remotely exploitable buffer overflow exists in /bin/login and
/etc/getty.  Attackers can exploit this vulnerability to gain root
access to the server.

Solution

___________________________________________________________________________
SCO, Inc. Security Advisory
Subject:  SCO OpenServer: /bin/login and /etc/getty argument buffer overflow
Advisory number: CSSA-2001-SCO.40
Issue date:      2001 December 14
___________________________________________________________________________

1. Problem Description A remotely exploitable buffer overflow exists in /bin/login and /etc/getty. Attackers can exploit this vulnerability to gain root access to the server.

2. Vulnerable Versions
Operating System        Version        Affected Files
------------------------------------------------------------------
SCO OpenServer          <= 5.0.6a      /bin/login
                                       /etc/getty
3. Workaround
None.
4. SCO OpenServer
4.1 Location of Fixed Binaries:
ftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.40/

erg711877.506.tar.Z is the patch for SCO OpenServer Release 5.0.6, with or without Release Supplement 5.0.6a (rs506a).

Note that other security issues are corrected by rs506a; we strongly recommend installing it on all 5.0.6 systems.

erg711877.505.tar.Z is the patch for SCO OpenServer Release 5.0.5 and
earlier.  Although it should work with all releases 5.0.0 through 5.0.5,
it has not yet been tested on every release.
4.2 Verification
md5 checksums:
e1748ebb4710796620c15017e52eecc0       erg711877.505.tar.Z
627a41d22040872f967cb5387c7e629c       erg711877.506.tar.Z
md5 is available for download from:
ftp://stage.sco.com/pub/security/tools/
4.3 Installing Fixed Binaries

Upgrade the affected binaries with the following commands:

For 5.0.6 and 5.0.6a:
Download erg711877.506.tar.Z to the /tmp directory
# mv /bin/login /bin/login-
# mv /etc/getty /etc/getty-
# chmod 0 /bin/login- /etc/getty-
# uncompress erg711877.506.tar.Z
# cd /
# tar xvf /tmp/erg711877.506.tar
For pre-5.0.6:
Download erg711877.505.tar.Z to the /tmp directory
# mv /bin/login /bin/login-
# mv /etc/getty /etc/getty-
# chmod 0 /bin/login- /etc/getty-
# uncompress erg711877.505.tar.Z
# cd /
# tar xvf /tmp/erg711877.505.tar
5. References
http://www.cert.org/advisories/CA-2001-34.html
http://www.kb.cert.org/vuls/id/569272
http://xforce.iss.net/alerts/advise105.php

This and other advisories are located at: [link no longer available]

This advisory addresses SCO Security internal incidents: sr854610, SCO-559-1318, erg711877.

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

This vulnerability was discovered and researched by Mark Dowd of the ISS X-Force.

___________________________________________________________________________

From the Xinuos technical article database, record 116482. Reproduced with permission. The original is at www.sco.com/ta/116482, which is reachable but blocked from search engines.

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.