Mono: Information disclosure

Security Team  Contact Address

Updated January 16, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200701-12 / mono
Release Date January 16, 2007
Latest Revision January 17, 2007: 02
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/mono < 1.2.2.1 >= 1.2.2.1 All supported architectures

Related bugreports: #159886

Synopsis

Mono does not properly sanitize pathnames allowing unauthorized information disclosure.

2.  Impact Information

Background

Mono provides the necessary software to develop and run .NET client and server applications on various platforms.

Description

Jose Ramon Palanco has discovered that the System.Web class in the XSP for the ASP.NET server 1.1 through 2.0 in Mono does not properly validate or sanitize local pathnames which could allow server-side file content disclosure.

Impact

An attacker could append a space character to a URI and obtain unauthorized access to the source code of server-side files. An attacker could also read credentials by requesting Web.Config%20 from a Mono server.

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.2.2.1"

4.  References