Technical article 116282

What is CSSA-2001-SCO.38, concerning the "lpstat buffer overflow"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

Even with sse072, lpstat has a buffer overflow.  This could be
used by a malicious user to gain privileges.

Solution

___________________________________________________________________________
SCO, Inc. Security Advisory
Subject:OpenServer:   lpstat buffer overflow
Advisory number:      CSSA-2001-SCO.38
Issue date:           2001 December 7
Cross reference:      sse072
___________________________________________________________________________
1. Problem Description
   Even with sse072, lpstat has a buffer overflow.  This could be used by a
   malicious user to gain privileges.
2. Vulnerable Versions
Operating System         Version              Affected Files
------------------------------------------------------------------
OpenServer               <= 5.0.6a            /usr/bin/lpstat
3. Workaround

If the lpstat command is not required, remove the setgid bit from the binary:

chmod g-s /usr/bin/lpstat
4. OpenServer
A. Location of Fixed Binaries:
ftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.38/
B. Verification
md5 checksums:
2deab6d340bb3790104fa0cb8ae36e6c    erg711871.pkg.Z
md5 is available for download from:
ftp://stage.sco.com/pub/security/tools/
C. Installing Fixed Binaries

Upgrade the affected binaries with the following commands:

# uncompress /tmp/erg711871.pkg.Z
# pkgadd -d /tmp/erg711871.pkg
5. References

This and other advisories are located at:

[link no longer available]

This advisory addresses SCO Security internal incidents sr854294, SCO-559-1315, erg711871.

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.

___________________________________________________________________________

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