Cscope Insecure Temporary File Creation Vulnerabilities

BID:11697

Info

Cscope Insecure Temporary File Creation Vulnerabilities

Bugtraq ID: 11697
Class: Design Error
CVE: CVE-2004-0996
Remote: No
Local: Yes
Published: Nov 17 2004 12:00AM
Updated: Aug 02 2007 05:25PM
Credit: Gangstuck / Psirac <[email protected]> disclosed this vulnerability. Jeremy Bae from STG Security Inc <[email protected]> also disclosed this vulnerability to the vendor.
Vulnerable: SCO Unixware 7.1.4
SCO Unixware 7.1.3
SCO Unixware 7.1.1
Gentoo Linux
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
Debian Linux 3.0
Cscope Cscope 15.5
+ SCO Open Server 5.0.7
+ SCO Open Server 5.0.6
Cscope Cscope 15.4
Cscope Cscope 15.3
Cscope Cscope 15.1
Cscope Cscope 13.0
Apple Mac OS X Server 10.4.10
Apple Mac OS X Server 10.3.9
Apple Mac OS X 10.4.10
Apple Mac OS X 10.3.9
Not Vulnerable:

Discussion

Cscope Insecure Temporary File Creation Vulnerabilities

Cscope creates temporary files in an insecure way. A design error causes the application to fail to verify the presence of a file before writing to it.

During execution, the utility reportedly creates temporary files in the system's temporary directory, '/tmp', with predictable names. This allows attackers to create malicious symbolic links that Cscope will write to when an unsuspecting user executes it.

Attackers may leverage these issues to overwrite arbitrary files with the privileges of an unsuspecting user that activates the vulnerable application.

Versions up to and including Cscope 15.5 are reported vulnerable.

Exploit / POC

Cscope Insecure Temporary File Creation Vulnerabilities

Although an exploit is not required, example programs have been provided:

Solution / Fix

Cscope Insecure Temporary File Creation Vulnerabilities

Solution:
Please see the referenced advisories for more information.


Apple Mac OS X 10.3.9

Apple Mac OS X Server 10.3.9

Apple Mac OS X 10.4.10

Apple Mac OS X Server 10.4.10

Cscope Cscope 15.3

SCO Unixware 7.1.1

SCO Unixware 7.1.3

SCO Unixware 7.1.4

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report