CVE-2007-0166 Path traversal in n/a

Medium 6.6 Published Updated

Local root users in FreeBSD jails can overwrite arbitrary files or mount/unmount filesystems outside the jail via symlink attacks.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-0166?

CVE-2007-0166 is a medium-severity path traversal vulnerability in Freebsd Freebsd, published on 11 Jan 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The jail rc.d script in FreeBSD 5.3 up to 6.2 does not verify pathnames when writing to /var/log/console.log during a jail start-up, or when file systems are mounted or unmounted, which allows local root users to overwrite arbitrary files, or mount/unmount files, outside of the jail via a symlink attack.

Which versions are affected by CVE-2007-0166?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2007-0166?

No fix has been published for CVE-2007-0166 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2007-0166 being exploited?

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

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-m26g-j89h-78px.

Is CVE-2007-0166 in your software?

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

Check your SBOMs for free