Problem
zgrep in gzip does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0758 to this issue.
Race condition in gzip, when decompressing a gzipped file, 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 gzip after the decompression is complete.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0988 to this issue.
Directory traversal vulnerability in gunzip -N allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1228 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.7 OpenServer 6.0.0 : Gzip Multiple Vulnerabilities
Advisory number: SCOSA-2005.59
Issue date: 2005 December 16
Cross reference: sr864726 erg712907 fz532854 sr864725 erg712906 fz532855
CVE-2005-0758 CVE-2005-0988 CVE-2005-1228
______________________________________________________________________________1. Problem Descriptionzgrep in gzip does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0758 to this issue.
Race condition in gzip, when decompressing a gzipped file, 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 gzip after the decompression is complete.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0988 to this issue.
Directory traversal vulnerability in gunzip -N allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1228 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.7 gzip distribution
OpenServer 6.0.0 gzip distribution3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.74.1 Location of Fixed BinariesThe fixes are only available in SCO OpenServer Release 5.0.7 Maintenance Pack 4 or later.
https://ftp.scoexpert.com/openserver5/507/mp/osr507mp4/osr507mp4_vol.tar4.2 VerificationMD5 (osr507mp4_vol.tar) = 4c87d840ff5b43221258547d19030228md5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesSee the SCO OpenServer Release 5.0.7 Maintenance Pack 4 Release and Installation Notes:
https://ftp.scoexpert.com/openserver5/507/mp/osr507mp4/osr507mp4.htm5. OpenServer 6.0.05.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.595.2 VerificationMD5 (VOL.000.000) = 2f882aed13d5d0386880fad4f0ee8860md5 is available for download from
https://ftp.scoexpert.com/security/tools5.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory.
2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
6. ReferencesSpecific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0758
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0988
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1228
http://secunia.com/advisories/15047
[SecurityFocus — site closed]
http://xforce.iss.net/xforce/xfdb/20199SCO security resources:
http://www.sco.com/support/security/index.htmlSCO security advisories via email
http://www.sco.com/support/forums/security.htmlThis security fix closes SCO incidents sr864726 erg712907 fz532854 sr864725 erg712906 fz532855.
7. DisclaimerSCO 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.
______________________________________________________________________________