Vulnerability in FreeBSD

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 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.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.069, 94.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 5 other repositories (anoaghost/Localroot_Compile, ARPSyndicate/cvemon, Gabriel-Lima232/FreeBSD-9.0-9.1-Privilege-Escalation, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References