Technical article 116922

What is CSSA-2002-SCO.5.1, concerning "encrypted password disclosure"?

OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6UnixWare 7.1.0UnixWare 7.1.1Open UNIX 8

Written · Last revised

Problem

The first  version of this  advisory specifically  mentioned a file
that was,  indeed, readable by others  and contained the encrypted
root password, but the directories leading up to  it were not
searchable.  Therefore, it was not a true vulnerability.  After some
research, SCO has discovered files that are accessible to others
that do contain information that might be used to compromise the
system's security.

After installation of the product, several files are left readable by all users. These files contain, among other things, encrypted passwords.

Solution

          Please see the security advisory below for details.
___________________________________________________________________________
SCO, Inc. Security Advisory
Subject:           REVISION: Open UNIX, UnixWare 7, OpenServer 5: encrypted
                   password disclosure
Advisory number:   CSSA-2002-SCO.5.1
Issue date:        2002 February 16
Cross reference:   CSSA-2001-SCO.5
___________________________________________________________________________
1. Problem Description
The first version of this advisory specifically mentioned a file that
was, indeed, readable by others and contained the encrypted root
password, but the directories leading up to it were not searchable.
Therefore, it was not a true vulnerability.  After some research,
SCO has discovered files that are accessible to others that do
contain information that might be used to compromise the system's
security.

After installation of the product, several files are left readable by all users. These files contain, among other things, encrypted passwords.

2. Vulnerable Supported Versions
Operating System   Version             Affected Files
------------------------------------------------------------------
UnixWare 7         All                 /usr/ns-home/admserv/admpw
                                       /usr/internet/httpd/admserv/admpw
Open UNIX          8.0.0               /usr/ns-home/admserv/admpw
                                       /usr/internet/httpd/admserv/admpw
                                       /var/sadm/pkg/update800/install/
                                         morepkgs/scripts/debug.out
OpenServer              All            /var/opt/K/SCO/link/*/.softmgmt/
                                         ccsPersistent/cqs.save.file
                                       /var/opt/K/SCO/Vidconf/*/
                                       .softmgmt/ccsPersistent/iqm_file
3. Solution
3.1 UnixWare 7

SCO recommends that all affected systems change the file modes of the following files to be readable only by root:

# chmod 400 /usr/ns-home/admserv/admpw
# chmod 400 /usr/internet/httpd/admserv/admpw
In addition, SCO also recommends that you  change the root and
owner passwords.
3.2 Open UNIX

SCO recommends that all affected systems change the file modes of the following files to be readable only by root:

# chmod 400 /usr/ns-home/admserv/admpw
# chmod 400 /usr/internet/httpd/admserv/admpw
# chmod 400 /var/sadm/pkg/update800/install/morepkgs/scripts/debug.out

In addition, SCO also recommends that you change the root and owner passwords.

3.3 OpenServer

SCO recommends that all affected systems change the file modes of the following files to be readable only by root:

# chmod 400 /var/opt/K/SCO/link/*/.softmgmt/ccsPersistent/cqs.save.file
# chmod 400 /var/opt/K/SCO/Vidconf/*/.softmgmt/ccsPersistent/iqm_file

In addition, SCO also recommends that you change the root password.

4. References
ftp://stage.sco.com/pub/security/openunix/CSSA-2002-SCO.5.1/

This and other advisories are located at:

[link no longer available]

This advisory addresses SCO Security internal incident sr860350.

5. 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
International products.
6. Acknowledgements
        SCO wishes to thank the efforts of Derryle Gogel
        <gogeld@citifinancial.com>, who gave us the impetus to investigate this
        issue more thoroughly.
___________________________________________________________________________

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