QGit: Insecure temporary file creation
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200710-05 / qgit |
| Release Date |
October 07, 2007 |
| Latest Revision |
October 07, 2007: 01 |
| Impact |
normal |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-util/qgit |
<
1.5.7 |
>=
1.5.7 |
All supported architectures
|
Related bugreports:
#190697
Synopsis
A vulnerability has been discovered in QGit allowing local users to
overwrite arbitrary files and execute arbitrary code with another user's
rights.
2.
Impact Information
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All QGit users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/qgit-1.5.7"
|
4.
References
|