Executive Summary

Summary
Title QGit: Insecure temporary file creation
Informations
Name GLSA-200710-05 First vendor Publication 2007-10-07
Vendor Gentoo Last vendor Modification 2007-10-07
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 6.9 Attack Range Local
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A vulnerability has been discovered in QGit allowing local users to overwrite arbitrary files and execute arbitrary code with another user's rights.

Background

QGit is a graphical interface to git repositories that allows you to browse revisions history, view patch content and changed files.

Description

Raphael Marichez discovered that the DataLoader::doStart() method creates temporary files in an insecure manner and executes them.

Impact

A local attacker could perform a symlink attack, possibly overwriting files or executing arbitrary code with the rights of the user running QGit.

Workaround

There is no known workaround at this time.

Resolution

All QGit users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/qgit-1.5.7"

References

[ 1 ] CVE-2007-4631 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4631

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200710-05.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200710-05.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

OpenVAS Exploits

Date Description
2009-02-27 Name : Fedora Update for qgit FEDORA-2007-2108
File : nvt/gb_fedora_2007_2108_qgit_fc7.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200710-05 (qgit)
File : nvt/glsa_200710_05.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
40496 QGit dataloader.cpp DataLoader::doStart() Symlink Arbitrary File Overwrite

Nessus® Vulnerability Scanner

Date Description
2007-11-06 Name : The remote Fedora host is missing a security update.
File : fedora_2007-2108.nasl - Type : ACT_GATHER_INFO
2007-10-09 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200710-05.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:09
  • Multiple Updates