Joined: 12 May 2004
|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)
Date: November 28, 2006
Mono is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files.
Mono provides the necessary software to develop and run .NET client and server applications.
Vulnerable: < 126.96.36.199.1
Unaffected: >= 188.8.131.52.1
Architectures: All supported architectures
Sebastian Krahmer of the SuSE Security Team discovered that the System.CodeDom.Compiler classes of Mono create temporary files with insecure permissions.
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.
There is no known workaround at this time.
All Mono users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/mono-184.108.40.206.1"