[Full-disclosure] [ GLSA 200611-23 ] Mono: Insecure temporary file creation



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200611-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Mono: Insecure temporary file creation
Date: November 28, 2006
Bugs: #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 / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/mono < 1.1.13.8.1 >= 1.1.13.8.1

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:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/mono-1.1.13.8.1"

References
==========

[ 1 ] CVE-2006-5072
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5072

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200611-23.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: pgpxTqMZKcHve.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • [ GLSA 200611-23 ] Mono: Insecure temporary file creation
    ... Mono is vulnerable to linking attacks, ... Sebastian Krahmer of the SuSE Security Team discovered that the ... A local attacker could create links in the temporary file directory, ...
    (Bugtraq)
  • [Full-disclosure] [ GLSA 200711-10 ] Mono: Buffer overflow
    ... Title: Mono: Buffer overflow ... Mono's BigInteger implementation contains a buffer overflow ... vulnerability that might lead to the execution of arbitrary code. ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • [ GLSA 200711-10 ] Mono: Buffer overflow
    ... Title: Mono: Buffer overflow ... Mono's BigInteger implementation contains a buffer overflow ... vulnerability that might lead to the execution of arbitrary code. ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • [Full-disclosure] [ GLSA 200701-12 ] Mono: Information disclosure
    ... Title: Mono: Information disclosure ... Mono does not properly sanitize pathnames allowing unauthorized ... XSP for the ASP.NET server 1.1 through 2.0 in Mono does not properly ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • [ GLSA 200701-12 ] Mono: Information disclosure
    ... Title: Mono: Information disclosure ... Mono does not properly sanitize pathnames allowing unauthorized ... XSP for the ASP.NET server 1.1 through 2.0 in Mono does not properly ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)