CVE-2007-0166
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a login. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 6.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- Freebsd ≤ 6.2
- Freebsd 5.3
Attack profile CVSS 2.0 · 6.6
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:S/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-0166.md and follow it. Check whether this project is affected by CVE-2007-0166. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
- http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
References
- http://osvdb.org/32726
- http://secunia.com/advisories/23730
- http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
- http://securitytracker.com/id?1017505
- http://www.securityfocus.com/bid/22011
- http://osvdb.org/32726
- http://secunia.com/advisories/23730
- http://security.freebsd.org/advisories/FreeBSD-SA-07:01.jail.asc
- http://securitytracker.com/id?1017505
- http://www.securityfocus.com/bid/22011