Mono: Insecure temporary file creation
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200611-23 / mono |
| Release Date |
November 28, 2006 |
| Latest Revision |
November 28, 2006: 01 |
| Impact |
normal |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| dev-lang/mono |
<
1.1.13.8.1 |
>=
1.1.13.8.1 |
All supported architectures
|
Related bugreports:
#150264
Synopsis
Mono is vulnerable to linking attacks, potentially allowing a local user to
overwrite arbitrary files.
2.
Impact Information
Background
Mono provides the necessary software to develop and run .NET client and
server applications.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All Mono users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/mono-1.1.13.8.1"
|
4.
References
|