GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Tue Nov 28, 2006 9:26 pm Post subject: [ GLSA 200611-23 ] Mono: Insecure temporary file creation |
|
|
Gentoo Linux Security Advisory
Title: Mono: Insecure temporary file creation (GLSA 200611-23)
Severity: normal
Exploitable: local
Date: November 28, 2006
Bug(s): #150264
ID: 200611-23
Synopsis
Mono is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files.
Background
Mono provides the necessary software to develop and run .NET client and server applications.
Affected Packages
Package: dev-lang/mono
Vulnerable: < 1.1.13.8.1
Unaffected: >= 1.1.13.8.1
Architectures: All supported architectures
Description
Sebastian Krahmer of the SuSE Security Team discovered that the System.CodeDom.Compiler classes of Mono create temporary files with insecure permissions.
Impact
A local attacker could create links in the temporary file directory, pointing to a valid file somewhere on the filesystem. When an affected class is called, this could result in the file being overwritten with the rights of the user running the script.
Workaround
There is no known workaround at this time.
Resolution
All Mono users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/mono-1.1.13.8.1" |
References
CVE-2006-5072 |
|