___________________________________________________________________________ Caldera International, Inc. Security Advisory Subject: Open Unix, UnixWare 7: dtprintinfo environment buffer overflow Advisory number: CSSA-2001-SCO.22 Issue date: 2001 October 1 Cross reference: ___________________________________________________________________________ 1. Problem Description Very long environment variables will cause the dtprintinfo command to overflow a buffer. This could be used by an unauthorized user to gain privilege. 2. Vulnerable Versions Operating System Version Affected Files ------------------------------------------------------------------ UnixWare 7 All /usr/dt/bin/dtprintinfo Open Unix 8.0.0 /usr/dt/bin/dtprintinfo 3. Workaround None. 4. UnixWare 7 4.1 Location of Fixed Binaries ftp://stage.caldera.com/pub/security/openunix/CSSA-2001-SCO.22/ 4.2 Verification md5 checksums: e726067eba0107ac5efd8c1fdb141b0d dtprintinfo.Z md5 is available for download from ftp://stage.caldera.com/pub/security/tools/ 4.3 Installing Fixed Binaries Upgrade the affected binaries with the following commands: # mv /usr/dt/bin/dtprintinfo /usr/dt/bin/dtprintinfo- # uncompress /tmp/dtprintinfo.Z # cp dtprintinfo /usr/dt/bin # cd /usr/dt/bin # chown root dtprintinfo # chgrp bin dtprintinfo # chmod 4555 dtprintinfo 5. References This and other advisories are located at http://stage.caldera.com/support/security This advisory addresses Caldera Security internal incident sr850737. 6. Disclaimer Caldera International, 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 Caldera International products. 7. Acknowledgements Caldera International wishes to thank KF for discovering and reporting this problem. ___________________________________________________________________________