QGit DataLoader::doStart function symlink

qgit-dataloader-symlink (36503) The risk level is classified as MediumMedium Risk

Description:

QGit could allow a local attacker to launch a symlink attack. The DataLoader::doStart function in dataloader.cpp creates temporary files insecurely. An attacker could exploit this vulnerability to overwrite arbitrary files on the system with the victim's privileges.

Platforms Affected:

  • Gentoo, Linux
  • Macro Costalba, QGit 1.5.6 - 2pre1

Remedy:

For Gentoo Linux:
Refer to GLSA 200710-05 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

File Manipulation

References:

  • Gentoo Bugzilla Bug 190697, dev-util/qgit: Insecure creation of temporary file and/or "qprocess" USE-flag feature request (CVE-2007-4631) at http://bugs.gentoo.org/show_bug.cgi?id=190697.
  • SourceForge.net, QGit viewer at http://sourceforge.net/projects/qgit.
  • BID-25618: QGit DataLoader::doStart Function Local Privilege Escalation Vulnerability
  • CVE-2007-4631: The DataLoader::doStart function in dataloader.cpp in QGit 1.5.6 and other versions up to 2pre1 allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on temporary files with predictable filenames.
  • GLSA-200710-05: QGit: Insecure temporary file creation
  • SA26745: QGit "DataLoader::doStart()" Insecure Temporary Files
  • VUPEN/ADV-2007-3107: QGit DataLoader::doStart() Function Insecure Temporary Files Vulnerability

Reported:

Aug 29, 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 xforce@iss.net

Return to the main page