CVE-2006-5215 Path traversal in n/a

Low 2.6 Published Updated

Local attackers can overwrite arbitrary files or read other users' Xsession errors via a symlink attack on a temporary file in X Display Manager.

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-5215?

CVE-2006-5215 is a low-severity path traversal vulnerability in Netbsd Netbsd, published on 9 Oct 2006. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Xsession script, as used by X Display Manager (xdm) in NetBSD before 20060212, X.Org before 20060317, and Solaris 8 through 10 before 20061006, allows local users to overwrite arbitrary files, or read another user's Xsession errors file, via a symlink attack on a /tmp/xses-$USER file.

Which versions are affected by CVE-2006-5215?

It affects 4 products.

Products include Netbsd Netbsd, Sun Solaris, Sun Sunos, X.org Xdm.

How do I fix CVE-2006-5215?

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-5215 being exploited?

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

All Netbsd Netbsd vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-5215, GHSA-m3qf-v679-cpx6.

Is CVE-2006-5215 in your software?

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

Check your SBOMs for free