Technical article 126320

What is SCOSA-2006.2, concerning "cpio Multiple Vulnerabilities"?

OpenServer 6.0.0OpenServer 5.0.7

Written

Problem

	A race condition in cpio allows local users to modify
	permissions of arbitrary files via a hard link attack on a file
	while it is being decompressed, whose permissions are changed by
	cpio after the decompression is complete.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1111 to this issue.

A directory traversal vulnerability allows remote attackers to write to arbitrary directories via a .. (dot dot) in a cpio file.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1229 to this issue

Solution

______________________________________________________________________________
SCO Security Advisory
Subject:                OpenServer 5.0.7 OpenServer 6.0.0 : cpio Multiple
                        Vulnerabilities
Advisory number:        SCOSA-2006.2
Issue date:             2006 January 03
Cross reference:        sr893933 fz532332 erg712853
                        sr894845 fz532911 erg712912
                        CVE-2005-1111 CVE-2005-1229
______________________________________________________________________________
1. Problem Description
A race condition in cpio allows local users to modify
permissions of arbitrary files via a hard link attack on a file
while it is being decompressed, whose permissions are changed by
cpio after the decompression is complete.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1111 to this issue.

A directory traversal vulnerability allows remote attackers to write to arbitrary directories via a .. (dot dot) in a cpio file.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1229 to this issue

2. Vulnerable Supported Versions
System                          Binaries
----------------------------------------------------------------------
OpenServer 5.0.7                /usr/gnu/bin/gcpio
OpenServer 6.0.0                /usr/bin/cpio, /usr/bin/cpio.osr5
3. Solution

The proper solution is to install the latest packages.

4. OpenServer 5.0.7
4.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.2
4.2 Verification
MD5 (p532332.507_vol.tar) = 416ce0e1f6ba629eadc883ca1283fba7
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
4.3 Installing Fixed Binaries

Upgrade the affected binaries with the following sequence:

1) Download p532332.507_vol.tar file to a directory.

2) Extract VOL* files.
# tar xvf p532332.507_vol.tar

3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

5. OpenServer 6.0.0
5.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.2
5.2 Verification
MD5 (p532911.600_vol.tar) = 2224558523782dbae0b529fb0cf0ff37
md5 is available for download from
        https://ftp.scoexpert.com/security/tools
5.3 Installing Fixed Binaries

Upgrade the affected binaries with the following sequence:

1) Download p532911.600_vol.tar file to a directory.

2) Extract VOL* files.
# tar xvf p532911.600_vol.tar

3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.

6. References
Specific references for this advisory:
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1111
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1229
        http://xforce.iss.net/xforce/xfdb/20204
SCO security resources:
        http://www.sco.com/support/security/index.html
SCO security advisories via email
        http://www.sco.com/support/forums/security.html

This security fix closes SCO incidents sr893933 fz532332 erg712853 sr894845 fz532911 erg712912.

7. Disclaimer

SCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.

8. Acknowledgments

The SCO Group would like to thank Imran Ghory for the initial report.

______________________________________________________________________________

From the Xinuos technical article database, record 126320. Reproduced with permission. The original is at www.sco.com/ta/126320, which is reachable but blocked from search engines.

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.