Technical article 118005

What is CSSA-2002-SCO.17, concerning "sar -o buffer overflow"?

OpenServer 5.0.5

Written · Last revised

Problem

If the /usr/bin/sar command is given an exceedingly long argument
to the o option, it will memory fault.  This could allow a malicious
user to elevate their permissions.

Solution

Please see the Security Advisory below for details.

______________________________________________________________________________
SCO, Inc.  Security Advisory
Subject:            OpenServer 5.0.5 : sar -o buffer overflow
Advisory number:    CSSA-2002-SCO.17
Issue date:         2002 May 01
______________________________________________________________________________
1. Problem Description
If the /usr/bin/sar command is given an exceedingly long argument to
the o option, it will memory fault.  This could allow a malicious user
to elevate their permissions.
2. Vulnerable Supported Versions
System                              Binary
----------------------------------------------------------------------
SCO OpenServer System Release 5.0.5 /usr/bin/sar
                                    /usr/lib/sa/sadc
                                    /usr/bin/cpusar
                                    /usr/bin/mpsar
3. Solution

The proper solution is to install the latest packages.

4. OpenServer 5.0.5
4.1 Location of Fixed Binaries
ftp://stage.sco.com/pub/security/openserver/CSSA-2002-SCO.17
4.2 Verification
MD5 (VOL.000.000) = f912fe801263863956c257c4ef395570
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:

Download the VOL* files to the /tmp directory.

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

5. References
Specific references for this advisory:
none
SCO UNIX security resources:
[link no longer available]
SCO OpenLinux security resources:
http://www.sco.com/support/security/index.html

This security fix closes SCO incidents sr862424, fz520480, erg712003.

6. Disclaimer
SCO, Inc. 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.
7. Acknowledgements
   SCO would like to thank KF <dotslash@snosoft.com> for discovering this
   problem, researching it, alerting us, and for being patient, too.
______________________________________________________________________________

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