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 AdvisorySubject: 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 DescriptionThe 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 VersionsOperating 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_file3. Solution3.1 UnixWare 7SCO 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/admpwIn addition, SCO also recommends that you change the root and
owner passwords.3.2 Open UNIXSCO 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.outIn addition, SCO also recommends that you change the root and owner passwords.
3.3 OpenServerSCO 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_fileIn addition, SCO also recommends that you change the root password.
4. Referencesftp://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. DisclaimerSCO, 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.
___________________________________________________________________________