Technical article 115462

What is CSSA-2001-SCO.24, concerning "shell here-documents allow various security breaches"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

Shell here-document processing is vulnerable to a variety of security attacks.

Solution

Please see the security advisory below for details.

___________________________________________________________________________
SCO, Inc. Security Advisory
Subject:                OpenServer: shell here-documents allow various security
breaches
Advisory number:        CSSA-2001-SCO.24
Issue date:             2001 October 9
Cross reference:
___________________________________________________________________________
1. Problem Description

Shell here-document processing is vulnerable to a variety of security attacks.

2. Vulnerable Versions
Operating System        Version         Affected Files
------------------------------------------------------------------
OpenServer              <= 5.0.6a       /bin/sh
                                        /sbin/sh
                                        /bin/csh
                                        /bin/ksh
                                        /usr/bin/euc/ksh
                                        /usr/lib/scosh/utilbin/oash
3. Workaround
None.
4. OpenServer
4.1 Location of Fixed Binaries
ftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.24/
4.2 Verification
md5 checksums:
76a2c883b71361ebb1180169e849734b        shells.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:

        # uncompress /tmp/shells.tar.Z
        # for i in /bin/csh /bin/ksh /bin/sh /sbin/sh /usr/bin/euc/ksh
/usr/lib/scosh/utilbin/oash
        > do
        > mv $i ${i}-
        > done
        # cd /
        # tar xvf /tmp/shells.tar
5. References
http://www.kb.cert.org/vuls/id/10277

This and other advisories are located at:

[link no longer available]

This advisory addresses SCO Security internal incident sr847825.

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
        The original discoverer of this vulnerability was Gordon Irlam
        of the Univeristy of Adelaide, Australia.
___________________________________________________________________________

From the Xinuos technical article database, record 115462. Reproduced with permission. The original is at www.sco.com/ta/115462, 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.