Problem
Ghostscript is affected by an insecure temporary file creation
vulnerability. This issue is likely due to a design error
that causes the application to fail to verify the existence
of a file before writing to it. An attacker may leverage this issue to overwrite arbitrary
files with the privileges of an unsuspecting user that
activates the vulnerable application. Reportedly this issue
is unlikely to facilitate privilege escalation.The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0967 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.7 OpenServer 6.0.0 : GhostScript
Insecure Temporary File Creation Vulnerability
Advisory number: SCOSA-2006.19
Issue date: 2006 April 11
Cross reference: fz533156
CVE-2004-0967
______________________________________________________________________________1. Problem DescriptionGhostscript is affected by an insecure temporary file creation
vulnerability. This issue is likely due to a design error
that causes the application to fail to verify the existence
of a file before writing to it.An attacker may leverage this issue to overwrite arbitrary
files with the privileges of an unsuspecting user that
activates the vulnerable application. Reportedly this issue
is unlikely to facilitate privilege escalation.The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0967 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.7 Ghostscript package
OpenServer 6.0.0 Ghostscript package3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.74.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.194.2 VerificationMD5 (p533156.507_vol.tar) = ae7c290a3b686c4bc01bdd0dc4adc1afmd5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download p533156.507_vol.tar to a directory.2) Extract VOL* files.# tar xvf p533156.507_vol.tar3) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
5. OpenServer 6.0.05.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/openserver6/600/mp/osr600mp2/osr600mp2.iso5.2 VerificationMD5 (osr600mp2.iso) = 7e560dcde374eb60df2b4a599ac20d8amd5 is available for download from
https://ftp.scoexpert.com/security/tools5.3 Installing Fixed BinariesSee the SCO OpenServer Release 6.0.0 Maintenance Pack 2 Release and Installation Notes:
https://ftp.scoexpert.com/openserver6/600/mp/osr600mp2/osr600mp2.html6. ReferencesSpecific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0967
[SecurityFocus — site closed]
http://secunia.com/advisories/12903/SCO 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 fz533156.
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.
8. AcknowledgmentsTrustix security engineers are credited with the discovery of this vulnerability.
______________________________________________________________________________