Executive Summary

Summary
Title Feynmf: Insecure temporary file creation
Informations
Name GLSA-200711-32 First vendor Publication 2007-11-20
Vendor Gentoo Last vendor Modification 2007-11-20
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:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.6 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A vulnerability has been discovered in Feynmf allowing local users to overwrite arbitrary files via a symlink attack.

Background

Feynmf is a combined LaTeX and Metafont package for easy drawing of professional quality Feynman (and maybe other) diagrams.

Description

Kevin B. McCarty discovered that the feynmf.pl script creates a temporary "properly list" file at the location "$TMPDIR/feynmf$PID.pl", where $PID is the process ID.

Impact

A local attacker could create symbolic links in the directory where the temporary files are written, pointing to a valid file somewhere on the filesystem that is writable by the user running Feynmf. When Feynmf writes the temporary file, the target valid file would then be overwritten with the contents of the Feynmf temporary file.

Workaround

There is no known workaround at this time.

Resolution

All Feynmf users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-tex/feynmf-1.08-r2"

References

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

Availability

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

http://security.gentoo.org/glsa/glsa-200711-32.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200711-32.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
2008-09-24 Name : Gentoo Security Advisory GLSA 200711-32 (feynmf)
File : nvt/glsa_200711_32.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
42397 feynmf feynmf.pl feynmf$$.pl Symlink Arbitrary File Overwrite

Nessus® Vulnerability Scanner

Date Description
2007-11-26 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200711-32.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:21
  • Multiple Updates