Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200711-32 ] Feynmf: Insecure temporary file creation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1471

PostPosted: Wed Nov 21, 2007 1:26 am    Post subject: [ GLSA 200711-32 ] Feynmf: Insecure temporary file creation Reply with quote

Gentoo Linux Security Advisory

Title: Feynmf: Insecure temporary file creation (GLSA 200711-32)
Severity: normal
Exploitable: local
Date: November 20, 2007
Bug(s): #198231
ID: 200711-32

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.

Affected Packages

Package: dev-tex/feynmf
Vulnerable: < 1.08-r2
Unaffected: >= 1.08-r2
Architectures: All supported architectures


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:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-tex/feynmf-1.08-r2"


References

CVE-2007-5940
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum