Technical article 113723

What is SSE072C, the buffer overflow security patch for Openserver 5?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

Buffer overflows have been found in the following 19 SCO OpenServer 5 utilities:

/usr/bin/accept /usr/bin/cancel /usr/mmdf/bin/deliver /usr/bin/disable /usr/bin/enable /usr/lib/libcurses.a /usr/bin/lp /usr/lib/lpadmin /usr/lib/lpfilter /usr/lib/lpforms /usr/lib/lpmove /usr/lib/lpshut /usr/bin/lpstat /usr/lib/lpusers /usr/bin/recon /usr/bin/reject /usr/bin/rmail /usr/lib/sendmail /usr/bin/tput

NOTE: the accept, reject, enable, and disable commands are symbolically linked to the same binary.

Running any of the above utilities with a very large argument
can result in a core dump.  For example:
/usr/lib/lpshut `perl -e 'print "A" x 10000'`

Solution

Install SSE072C. This patch is applicable to all releases of OpenServer 5 up to, and including, 5.0.6.

This patch contains replacements for all binaries listed above.

This patch supersedes SSE072B. Removal of previous versions of this              patch (SSE072B and SSE072) before installation of SSE072C is not                 necessary.

However, there is no need to install SSE072C on a system which has RS506A installed _AND_ which already has either SSE072B or SSE072 installed.

A copy of SSE072C is available from the SCO Security website at URL:

[link no longer available]
NOTE:     The patched /usr/lib/sendmail furnished with SSE072C (and also
          SSE072 and SSE072B) is only for the version that is installed
          on a system which is using MMDF.  If your system is using Sendmail,
          the installed /usr/lib/sendmail should not be replaced by the
          SSE072C version.  The installation procedure below, however,
          does not distinguish between the Sendmail and MMDF versions
          of this binary, and simply replaces whatever binary is there.
          To work around this problem, if you are actually using Sendmail,
          then first copy the original /usr/lib/sendmail (or retrieve it
          from /opt/K/SCO/sse/sse072c, if you have installed SSE072C)
          and replace, with this copy, the SSE072C version of /usr/lib/sendmail
          after you have installed the patch.
NOTE:     In previous versions of this patch, the replacement /usr/bin/tput
          was not compatible with pre-5.0.6 releases of OpenServer 5--the error
          "dynamic linker: tput: symbol not found: strlcpy" was obtained, and
          the user would not be prompted for, and would not be able to set,
          the TERM type for the session.  Numerous other binaries furnished
          with these previous versions can also exhibit similar problems.
          Installation of SSE072C will fix these problems.  There is no need
          to remove a previously installed version before installing SSE072C.

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