Dear SCO Customer, Support Level Supplement (SLS) CMW435C, the SCO CMW+ 3.0.1 ITSEC Evaluation Supplement, includes a number of enhancements and security fixes to the CMW+ product which are included in the F-B1/E3 target of evaluation. Note that to reproduce the configuration submitted for evaluation, your CMW+ system should be installed and configured as described in the accompanying "CMW+ 3.0.1 Installation Cover Letter" (cmw435c.doc). Contents --------- SLS CMW435C includes the following modifications: * Allows exported read-only file systems to be mounted successfully * Ensures that packet sequence numbers are unpredictable * Improves argument checking for pt_chmod * Ensures that sadc uses the correct group ID for file creation * Standardizes messages for locked accounts * Ensures that files created by expreserve are owned by the user * Prevents buffer overflows in syslog * Correctly increments failed login attempts when using su * Correctly reports free blocks in auditd * Allows correct printing of long labels on HP printers * Adds user and group IDs to audit subsystem event records * Allows sessions using encrypted passwords * Adds startup/shutdown audit records * Corrects sending mail from expreserve * Corrects socket problems * Provides fix for MaxSix daemon to handle any valid Encodings file * Corrects passwd memory fault * Corrects NFS write failures * Provides support for large Encodings files * Prevents buffer overflows in: at, rlogin and sendmail * Corrects handling of session termination in ftpd * Prevents TCP/IP self-connects (denial of service attack) * Improves checking of remote lp daemon requests * Prevents buffer overflows in X server, clients and libraries * Prevents buffer overflows in the rdist utility * Prevents potential TCB damage caused by links in public directories (see notes at the end of this letter) * Corrects problems in backup of multilevel directories * Audits screen lock authentication failures * Provides improved script for creating emergency boot floppy (mkdev fd) * Corrects checking of authorizations and privileges for chmod command Software Notes and Recommendations ---------------------------------- SLS CMW435C should be installed only on SCO CMW+ 3.0. The following SLSs must be installed before CMW435C: * CMW001A: SCO CMW+ Release Supplement 1 * CMW002A: SCO CMW+ File System SLS * CMW003A: SCO CMW+ PPP SLS CMW001A is included with your original CMW+ product. CMW002A and CMW003A are available via download on SCO's FTP site at ftp.sco.com or on SCO's web page at http://www.sco.com. CMW435C is custom-installable, and consists of six floppy disks. Installation Instructions ------------------------- To install CMW435C, perform the following steps: 1. Ensure the system is in system maintenance mode. If the system is currently in multiuser mode, log in as a user with the sysadmin command authorization (the root user has this authorization by default), and enter the command "init 1". 2. Ensure that audit is not running by entering the command: auditcmd -d 3. Enter the command: custom 4. The main custom menu will appear. Press to select "Install", press again to select "A New Product", then press again to select "Entire Product". 5. Custom prompts you to insert Floppy Volume 1. Insert CMW435C Volume 1 in the primary floppy drive and press . You will see the message: Installing custom data files... followed by: Executing Product Prep Script. 6. If the operating system version is detected to be different that that for which the SLS is intended, a warning message is displayed. Press to abort the installation. 7. You are asked if you wish to save backup copies of the files replaced by SLS CMW435C. If you do, answer 'y' at the prompt, otherwise answer 'n'. Note that unless you save backup copies of replaced files, you will be unable to remove this SLS at a later date. If you choose to save backup copies, the files will be saved in /usr/lib/custom/save/cmw435c. 8. Custom will display the message: Creating files list... 9. Custom prompts you: Insert: cmw435c: SCO CMW+ ITSEC Evaluation SLS Floppy volume nn where nn is the number of the floppy volume to be read in. Ensure that the correct volume is in the floppy drive and press to select "Continue". Custom will display the message: Extracting files... Continue this process for all six CMW435C floppies. 10. Custom will display the message: Executing CMW435C : SCO CMW+ ITSEC Evaluation SLS Init Script The system's serial number will be displayed, and you will be prompted for the activation key. Enter the same activation key that was used during the original installation of the system. The Init Script will display some progress messages. Note that some phases may take several minutes to complete. 11. You are then informed that the kernel must be relinked to enable parts of this SLS. Enter 'y' to relink the kernel now, or enter 'n' if you intend to relink the kernel later. 12. If you chose to do so, the kernel is relinked, and a message is displayed reminding you that you need to reboot the system to activate the new kernel. Press , and then press any key to continue. 13. Custom will display the message: Checking file permissions... followed by a screen listing the output of the setfiles utility. Press to return to the "Products Currently Installed" screen. To exit custom, press the 'q' key, or use the left arrow key to select "Quit" and press . You are asked to verify that you wish to exit the program; press to select "Yes". 14. Remove the floppy from the diskette drive. Issue the command: reboot to reboot the system with the new kernel. The SCO CMW+ ITSEC Evaluation SLS is now installed. Notes The following files may be present in the /tmp directory after the installation is complete: auditd, m6d, macilbd, libsec_s, libsec_s.a. These files may be safely removed after the system has been rebooted. New restrictions on symlink(), link() and rename(): Due to various TCB and system administration scripts using temporary files in public directories with potentially predictable names, it would have been possible for users, intentionally or accidentally, to cause damage to the TCB by linking protected files onto the names used by those scripts. In order to prevent this from occurring, the following restrictions have been placed on certain system calls: symlink() If the "sticky bit" (see chmod(C)) is set on the directory in which the link is being created, the directory must be owned by the calling user id. If not, the system call will fail with the EPERM error ("Not owner"). The "owner" privilege overrides this restriction. link() If the "sticky bit" is set on the directory in which the link is being created, the directory must be owned by the calling user id, or the object being linked from must be owned by the calling user id. If not, the system call will fail with the EPERM error ("Not owner"). The "owner" privilege overrides this restriction. rename() If the destination directory has the "sticky bit" set, and the object being renamed is a symbolic link, the directory must be owned by the calling uid. If the destination directory has the "sticky bit" set, and the object being renamed is not owned by the calling user id, the directory must be owned by the calling user id. If not, the system call will fail with the EPERM error ("Not owner"). The "owner" privilege overrides these restrictions. These new restrictions will be apparent in the behavior of the ln(C) and mv(C) commands, which use these system calls. Note that the changes only apply to the XEAFS filesystem type, which is the default filesystem type for CMW+. If you have any questions regarding this SLS, or the product on which it is installed, please contact your software supplier.