{"id":"CVE-2007-0166","aliases":["EUVD-2007-0170","GHSA-m26g-j89h-78px"],"status":"published","title":"The jail rc.d script in FreeBSD 5.3 up to 6.2 does not verify pathnames when writing to /var/log...","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.","severity":{"version":"2.0","score":6.6,"vector":"AV:L/AC:M/Au:S/C:C/I:C/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00415,"percentile":0.3604,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-01-11T20:00:00Z","modified":"2026-06-16T22:35:02Z","products":[{"vendor":"freebsd","product":"freebsd"}],"references":[{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","Exploit","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/22011","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://osvdb.org/32726","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://securitytracker.com/id?1017505","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/23730","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0166"},{"url":"https://github.com/advisories/GHSA-m26g-j89h-78px"}],"sources":{"cve":[{"id":"CVE-2007-0166","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.","status":"published","published":"2007-01-11T20:00:00Z","modified":"2024-08-07T12:12:17.966Z","updated_at":"2026-11-02T13:34:15.046008Z"}],"euvd":[{"id":"EUVD-2007-0170","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.","status":"published","published":"2007-01-11T20:00:00Z","modified":"2024-08-07T12:12:17Z","updated_at":"2026-11-03T01:38:31.603486Z"}],"ghsa":[{"id":"GHSA-m26g-j89h-78px","title":"The jail rc.d script in FreeBSD 5.3 up to 6.2 does not verify pathnames when writing to /var/log...","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.","status":"published","published":"2022-05-01T17:42:10Z","modified":"2023-01-31T05:03:05Z","updated_at":"2026-11-02T14:48:23.641719Z"}],"nvd":[{"id":"CVE-2007-0166","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.","status":"published","published":"2007-01-11T20:28:00Z","modified":"2026-06-16T22:35:02.587Z","cvss":[{"version":"2.0","score":6.6,"vector":"AV:L/AC:M/Au:S/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:11.752648Z"}]}}
