Technical article 115402

What is CSSA-2001-SCO.20, concerning "remote buffer overflow vulnerability in BSD line printer daemon"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

The BSD-derived lpd daemon is vulnerable to a buffer overflow. This could be used by an unauthorized user to gain privilege.

Solution

          Please see the security advisory below for details.
___________________________________________________________________________
SCO, Inc. Security Advisory
Subject:                OpenServer: remote buffer overflow vulnerability in BSD
line printer daemon
Advisory number:        CSSA-2001-SCO.20
Issue date:             2001 September 26
Cross reference:
___________________________________________________________________________
1. Problem Description

The BSD-derived lpd daemon is vulnerable to a buffer overflow. This could be used by an unauthorized user to gain privilege.

2. Vulnerable Versions
Operating System        Version         Affected Files
------------------------------------------------------------------
OpenServer              <= 5.0.6a       /usr/lib/lpd
                                        /usr/bin/lpstat
3. Workaround
None.
4. OpenServer
4.1 Location of Fixed Binaries
ftp://stage.sco.com/pub/security/openserver/CSSA-2001-SCO.20/
4.2 Verification
md5 checksums:
48f989acb3a6606181575b3b765cd89e        lpd.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:

Download the tar file to /tmp
# cd /tmp
# uncompress lpd.tar.Z
# tar xvf lpd.tar
# mv /usr/lib/lpd /usr/lib/lpd-
# mv /usr/bin/lpstat /usr/bin/lpstat-
# cp lpstat /usr/bin
# chown bin /usr/bin/lpstat
# chgrp lp /usr/bin/lpstat
# chmod 2111 /usr/bin/lpstat
# cp lpd /usr/lib
# chown root /usr/lib/lpd
# chgrp bin /usr/lib/lpd
# chmod 2711 /usr/lib/lpd
5. References
http://xforce.iss.net/alerts/advise94.php

This and other advisories are located at:

[link no longer available]
This advisory addresses SCO Security internal incident
sr851853.
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
        SCO wishes to thank the Internet Security
        Systems (ISS) X-Force for discovering and reporting this
        problem.
___________________________________________________________________________

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