Description
The System.Web class in the XSP for ASP.NET server 1.1 through 2.0 in Mono does not properly verify local pathnames, which allows remote attackers to (1) read source code by appending a space (%20) to a URI, and (2) read credentials via a request for Web.Config%20.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mono | 1.2.2.1-1 | — |
| Debian 13 | mono | 1.2.2.1-1 | — |
| Debian 12 | mono | 1.2.2.1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Mono XSP 1.x/2.0 - Source Code Information Disclosure EDB-29302 · remote · Dec 20, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- GLSA-200701-12 vendor-advisory
- 23597 third-party-advisory
- ADV-2006-5099 vdb-entry
- SUSE-SA:2007:002 vendor-advisory
- 2082 third-party-advisory
- oval:org.mitre.oval:def:2092 vdb-entry signature
- 20061220 Mono XSP ASP.NET Server sourcecode disclosure vulnerability mailing-list
- 1017430 vdb-entry
- FEDORA-2007-067 vendor-advisory
- 23462 third-party-advisory
- 23727 third-party-advisory
- 23779 third-party-advisory
- MDKSA-2006:234 vendor-advisory
- 23776 third-party-advisory
- 21687 vdb-entry
- http://www.eazel.es/advisory007-mono-xsp-source-disclosure-vulnerability.html
- 23435 third-party-advisory
- 23432 third-party-advisory
- FEDORA-2007-068 vendor-advisory
- USN-397-1 vendor-advisory