Technical article 126053

What is SCOSA-2005.15, concerning "termsh atcronsh auditsh environment buffer overflows"?

OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

A very long HOME environment variable will cause a buffer overflow in auditsh, atcronsh and termsh.

Note: 506 requires OSS646C installed prior to installation of this fix

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0351 to this issue.

Solution

______________________________________________________________________________
SCO Security Advisory
Subject:                OpenServer 5.0.6 OpenServer 5.0.7 : termsh atcronsh
                        auditsh environment buffer overflows
Advisory number:        SCOSA-2005.15
Issue date:             2005 April 7
Cross reference:        sr875152 fz527464 erg712238 sr886656 fz528456
                        erg712472 sr886657 fz528457 erg712473 CAN-2005-0351
______________________________________________________________________________
1. Problem Description

A very long HOME environment variable will cause a buffer overflow in auditsh, atcronsh and termsh.

Note: 506 requires OSS646C installed prior to installation of this fix

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0351 to this issue.

2. Vulnerable Supported Versions
System                          Binaries
----------------------------------------------------------------------
OpenServer 5.0.6                /usr/lib/sysadm/auditsh
                                /usr/lib/sysadm/termsh
                                /usr/lib/sysadm/atcronsh
OpenServer 5.0.7                /usr/lib/sysadm/auditsh
                                /usr/lib/sysadm/termsh
                                /usr/lib/sysadm/atcronsh
3. Solution

The proper solution is to install the latest packages.

4. OpenServer 5.0.6
4.1 First install oss646c or later
4.2 Location of oss646c
https://ftp.scoexpert.com/openserver5/oss646c/
4.3 Verification of oss646c

MD5 (VOL.000.000) = f19b6c6949f615316bfb075d249989e8 MD5 (VOL.000.001) = 341ff8553aecd2c7b0c2beaf83030d0f MD5 (VOL.000.002) = 6e46708ad8029e12280d4f9ac60ab814 MD5 (VOL.000.003) = 2868b64a6a6db742adb3b485be645d7e MD5 (VOL.000.004) = 1696fe1db9bb063827ee5e76e58dff84 MD5 (VOL.000.005) = f39da342f8af72fcaccdf478dca04109 MD5 (VOL.000.006) = 2b31611c8af7d2e7910d6e8e3cf701a6 MD5 (VOL.000.007) = d0175c0f4e3ed29435b1eab95609f8f4 MD5 (VOL.000.008) = aa9e8a525c341fed077f981b1dacb486 MD5 (VOL.000.009) = 8e023af67b57507824406bdda322079a MD5 (VOL.000.010) = 2b46e8adba8ae0b64109f2069da978a2

4.4 Installation of oss646c
See https://ftp.scoexpert.com/openserver5/oss646c/oss646c.txt
4.5 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.15
4.6 Verification
MD5 (VOL.000.000) = 3b47d83661354009a73acbd2979c4d0c
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
4.7 Installing Fixed Binaries

Upgrade the affected binaries with the following sequence:

1) Download the VOL* files to a directory

2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

5. OpenServer 5.0.7
5.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.15
5.2 Verification
MD5 (VOL.000.000) = 3b47d83661354009a73acbd2979c4d0c
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
5.3 Installing Fixed Binaries

Upgrade the affected binaries with the following sequence:

1) Download the VOL* files to a directory

2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

6. References
Specific references for this advisory:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0351
SCO security resources:
        http://www.sco.com/support/security/index.html
SCO security advisories via email
        http://www.sco.com/support/forums/security.html

This security fix closes SCO incidents sr875152 fz527464 erg712238 sr886656 fz528456 erg712472 sr886657 fz528457 erg712473.

7. Disclaimer

SCO is not responsible for the misuse of any of the information we provide on this 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.

8. Acknowledgments

SCO would like to thank Joel Soderberg and Christer Oberg of Deprotect which describes itself as "a Swedish based security company divided into four divisions; Managed Security Services, Security Services, Products and Development and our Security Academy."

______________________________________________________________________________

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