Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

BID:20340

Info

Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

Bugtraq ID: 20340
Class: Race Condition Error
CVE: CVE-2006-5072
Remote: No
Local: Yes
Published: Oct 04 2006 12:00AM
Updated: Jan 26 2007 04:59PM
Credit: This vulnerability was discovered by Sebastian Krahmer of the SuSE security team.
Vulnerable: Ubuntu Ubuntu Linux 5.10 sparc
Ubuntu Ubuntu Linux 5.10 powerpc
Ubuntu Ubuntu Linux 5.10 i386
Ubuntu Ubuntu Linux 5.10 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
SuSE SUSE Linux Enterprise Server SDK 9
SuSE SUSE Linux Enterprise Server 10
SuSE SUSE Linux Enterprise SDK 10
SuSE SUSE Linux Enterprise SDK 10
SuSE Suse Linux Enterprise Desktop 10
S.u.S.E. Open-Enterprise-Server 0
S.u.S.E. Novell Linux Desktop 9
S.u.S.E. Linux Professional 10.0 OSS
S.u.S.E. Linux Professional 10.0
S.u.S.E. Linux Professional 9.3 x86_64
S.u.S.E. Linux Professional 9.3
S.u.S.E. Linux Professional 10.1
S.u.S.E. Linux Personal 10.0 OSS
S.u.S.E. Linux Personal 9.3 x86_64
S.u.S.E. Linux Personal 9.3
S.u.S.E. Linux Personal 10.1
Redhat Fedora Core5
Mono Mono 2.0
Mono Mono 1.1.4
Mono Mono 1.0
Mono Mono 1.1.8.3
Mono Mono 1.1.17.1
Mono Mono 1.1.13.7
Mono Mono 1.1.13.4
Mandriva Linux Mandrake 2007.0 x86_64
Mandriva Linux Mandrake 2007.0
Gentoo Linux
Not Vulnerable:

Discussion

Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

The Mono 'System.CodeDom.Compiler' class creates temporary files in an insecure manner.

An attacker with local access could potentially exploit this issue to perform symlink attacks, overwriting arbitrary files in the context of the affected application.

Successfully exploiting a symlink attack may allow an attacker to overwrite or corrupt sensitive files. This may result in a denial of service; other attacks may also be possible.

Versions 1.0 and 2.0 are vulnerable; other versions may also be affected.

Exploit / POC

Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

An attacker uses readily available commands to exploit the issue.

Solution / Fix

Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

Solution:
Please see the referenced advisories for more information.


Mono Mono 1.1.17.1

Mono Mono 1.1.13.7

Mono Mono 1.1.13.4

Mono Mono 1.1.8.3

Mono Mono 1.1.4

References

Mono System.CodeDom.Compiler Class Insecure Temporary File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report