Executive Summary

Summary
Title GCC-XML: Insecure temporary file usage
Informations
Name GLSA-200909-11 First vendor Publication 2009-09-09
Vendor Gentoo Last vendor Modification 2009-09-09
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

An insecure temporary file usage has been reported in GCC-XML allowing for symlink attacks.

Background

GCC-XML is an XML output extension to the C++ front-end of GCC.

Description

Dmitry E. Oboukhov reported that find_flags in GCC-XML does not handle
"/tmp/*.cxx" temporary files securely.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All GCC-XML users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose =dev-cpp/gccxml-0.9.0_pre20090516

References

[ 1 ] CVE-2008-4957 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4957

Availability

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

http://security.gentoo.org/glsa/glsa-200909-11.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200909-11.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-09-15 Name : Gentoo Security Advisory GLSA 200909-11 (gccxml)
File : nvt/glsa_200909_11.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
49617 gccxml find_flags /tmp/*.cxx Temporary File Symlink Arbitrary File Overwrite

Nessus® Vulnerability Scanner

Date Description
2009-09-10 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200909-11.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:36:42
  • Multiple Updates