CVE-2013-2171 EXPLOIT
6.9
MEDIUM · CVSS 2.0 · EPSS 6.9% (pctl 94)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 6.9 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:L/AC:M/Au:N/C:C/I:C/A:C |
| EPSS | 6.94% — more likely to be exploited than 94% of all CVEs |
| Weakness | CWE-264 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2013-07-02 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| freebsd | freebsd |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | FreeBSD 9 - Address Space Manipulation Privilege Escalation (Metasploit) | 2013-06-26 |
| exploit-db | FreeBSD 9.0 < 9.1 - 'mmap/ptrace' Local Privilege Escalation | 2013-06-21 |
References
- 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
→ the Explorer · watch your stack · NVD