Problem
cscope is a developer's tool for browsing source code.
cscope creates temporary files with an easily predictable file name. A local attacker could exploit this vulnerability and possibly gain elevated privileges on the system.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0996 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.6 OpenServer 5.0.7 : cscope local attacker can remove arbitrary files
Advisory number: SCOSA-2005.11
Issue date: 2005 April 7
Cross reference: sr892180 fz530504 erg712739 CAN-2004-0996
______________________________________________________________________________1. Problem Descriptioncscope is a developer's tool for browsing source code.
cscope creates temporary files with an easily predictable file name. A local attacker could exploit this vulnerability and possibly gain elevated privileges on the system.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0996 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.6 /usr/ccs/bin/cscope
OpenServer 5.0.7 /usr/ccs/bin/cscope3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.64.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.114.2 VerificationMD5 (VOL.000.000) = 1fb21699e2a86a2aeb390a57219ff567md5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
5. OpenServer 5.0.75.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.115.2 VerificationMD5 (VOL.000.000) = 1fb21699e2a86a2aeb390a57219ff567md5 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 directory2) 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://xforce.iss.net/xforce/xfdb/18125
[SecurityFocus — site closed]
http://marc.theaimsgroup.com/?l=bugtraq&m=110133485519690&w=2
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0996SCO 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 sr892180 fz530504 erg712739.
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. AcknowledgmentsSCO would like to thank Gangstuck / Psirac <research@rexotec.com>
who disclosed this vulnerability. Jeremy Bae from STG
Security Inc <swbae@stgsecurity.com> also disclosed this
vulnerability to the vendor.______________________________________________________________________________