medium6.9Public exploit code
CVE-2013-2171
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whethe…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- FreeBSD 9 - Address Space Manipulation Privilege Escalation (Metasploit)2013-06-26 · local · freebsd · Verified
- FreeBSD 9.0 < 9.1 - 'mmap/ptrace' Local Privilege Escalation2013-06-21 · local · freebsd · Verified
Impact
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | Versions 9.0, 9.1 |
Weakness classification
References
- NVD record
- CVE.org record
- http://svnweb.freebsd.org/base?view=revision&revision=251901
- http://www.debian.org/security/2013/dsa-2714
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
- http://svnweb.freebsd.org/base?view=revision&revision=251901
- http://www.debian.org/security/2013/dsa-2714
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc