Unscored severity · published Jan 11, 2007
CVE-2007-0166
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,…
–
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
Freebsd · Freebsd
through 6.2; 5.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-0166
CVE.org
https://www.cve.org/CVERecord?id=CVE-2007-0166
osvdb.org
http://osvdb.org/32726
secunia.com
http://secunia.com/advisories/23730
Exploit
http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
securitytracker.com
http://securitytracker.com/id?1017505
www.securityfocus.com
http://www.securityfocus.com/bid/22011
More from Freebsd
10.0
CVE-2024-43102
umtx Kernel panic or Use-After-Free
10.0
CVE-2018-17160
In FreeBSD before 11.2-STABLE(r341486) and 11.2-RELEASE-p6, insufficient bounds checking in one of the device models provided by bhyve can permit a guest operating system to…
9.8
CVE-2026-101306
Multiple jail filesystem root escapes
9.8
CVE-2026-58082
Stack based buffer overflow in iconv(3)
9.8
CVE-2026-58081
Heap based buffer overflow in iconv(3)
