___________________________________________________________________________ Caldera International, Inc. Security Advisory Subject: OpenServer: vi /tmp vulnerability Advisory number: CSSA-2001-SCO.17 Issue date: 2001 September 19 Cross reference: ___________________________________________________________________________ 1. Problem Description The vi editor uses temporary names that are predictable. A user could use this vulnerability to write arbitrary files. 2. Vulnerable Versions Operating System Version Affected Files ------------------------------------------------------------------ OpenServer <= 5.0.6a /usr/bin/{ex,vi,edit,vedit,view} /usr/lib/expreserve /usr/lib/exrecover 3. Workaround None. 4. OpenServer 4.1 Location of Fixed Binaries ftp://stage.caldera.com/pub/security/openserver/CSSA-2001-SCO.17/ 4.2 Verification md5 checksums: e82e73b8fa21426c19d82fb9cd2988e1 usr.bin.vi.tar.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: # cp /usr/bin/ex /usr/bin/ex- # cp /usr/lib/expreserve /usr/lib/expreserve- # cp /usr/lib/exrecover /usr/lib/exrecover- # uncompress /tmp/usr.bin.vi.tar.Z # cd / # tar xvf /tmp/usr.bin.vi.tar 5. References This and other advisories are located at http://stage.caldera.com/support/security This advisory addresses Caldera Security internal incident sr847935. 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. ___________________________________________________________________________