CVE-2006-6104 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read source code and credentials by appending spaces to URIs in the Mono ASP.NET server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-6104?

CVE-2006-6104 is a medium-severity path traversal vulnerability in n/a, published on 21 Dec 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2006-6104?

It affects 1 product.

Products include Mono Xsp.

How do I fix CVE-2006-6104?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2006-6104 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6104 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2006-6104, GHSA-gv7j-rggf-vg58.

Is CVE-2006-6104 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free