QGit DataLoader::doStart function symlink
| qgit-dataloader-symlink (36503) |
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.
*CVSS:
| Base Score: | 3.3 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 2.9 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
File Manipulation
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.
References:
- Gentoo Bugzilla Bug 190697: dev-util/qgit: Insecure creation of temporary file and/or "qprocess" USE-flag feature request (CVE-2007-4631).
- SourceForge.net: QGit viewer.
- 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
Platforms Affected:
- Gentoo Linux
- Macro Costalba QGit 1.5.6 - 2pre1
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
