GnuCash multiple temporary files symlink

gnucash-symlink (32558) The risk level is classified as MediumMedium Risk


GnuCash could allow a local attacker to launch a symlink attack. GnuCash creates temporary files insecurely. A local attacker could exploit this vulnerability to create or overwrite arbitrary files on the system with the privileges of the user.


Base Score: 2.6
  Access Vector: Local
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 2.3
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed


File Manipulation


Upgrade to the latest version of GnuCash (2.0.5 or later), available from the GnuCash Web site. See References.

For Mandriva Linux (gnucash):
Refer to MDKSA-2007:046 for patch, upgrade, or suggested workaround information. See References.


  • GnuCash Web site: Open Source Accounting Software | GnuCash.
  • Gnucash - File Release Notes and Changelog- Release Name: 2.0.5.
  • BID-22610: GNUCash Insecure Temporary File Creation Vulnerability
  • CVE-2007-0007: gnucash 2.0.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on the (1) gnucash.trace, (2) qof.trace, and (3) qof.trace.[PID] temporary files.
  • OSVDB ID: 33224: GnuCash Multiple trace File Symlink Arbitrary File Overwrite
  • SA24225: GnuCash Insecure Temporary Files

Platforms Affected:

  • GnuCash Project GnuCash prior to 2.0.5
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64


Feb 19, 2007

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page