CVE-2006-5072 Path traversal in n/a

Medium 6.2 Published Updated

Local attackers can exploit insecure temporary file permissions in Mono's CodeDom compiler to overwrite files or execute arbitrary code via symlink attacks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2006-5072?

CVE-2006-5072 is a medium-severity path traversal vulnerability in n/a, published on 5 Oct 2006. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The System.CodeDom.Compiler classes in Novell Mono create temporary files with insecure permissions, which allows local users to overwrite arbitrary files or execute arbitrary code via a symlink attack.

Which versions are affected by CVE-2006-5072?

It affects 1 product.

Products include Mono Mono.

How do I fix CVE-2006-5072?

Apply the vendor's patch.

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

Is CVE-2006-5072 being exploited?

There is no known exploitation of CVE-2006-5072 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2006-5072, GHSA-388g-rj94-7qvv.

Is CVE-2006-5072 in your software?

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

Check your SBOMs for free