Technical article 126049

What is SCOSA-2005.11, concerning "cscope local attacker can remove arbitrary files"?

OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

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 Advisory
Subject:                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 Description

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.

2. Vulnerable Supported Versions
System                          Binaries
----------------------------------------------------------------------
OpenServer 5.0.6                /usr/ccs/bin/cscope
OpenServer 5.0.7                /usr/ccs/bin/cscope
3. Solution

The proper solution is to install the latest packages.

4. OpenServer 5.0.6
4.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.11
4.2 Verification
MD5 (VOL.000.000) = 1fb21699e2a86a2aeb390a57219ff567
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 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.

5. OpenServer 5.0.7
5.1 Location of Fixed Binaries
https://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.11
5.2 Verification
MD5 (VOL.000.000) = 1fb21699e2a86a2aeb390a57219ff567
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 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. References
Specific 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-0996
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 sr892180 fz530504 erg712739.

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
SCO 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.
______________________________________________________________________________

From the Xinuos technical article database, record 126049. Reproduced with permission. The original is at www.sco.com/ta/126049, 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.