Vulnerability Name:

CVE-2013-2171 (CCN-85089)

Assigned:2013-06-18
Published:2013-06-18
Updated:2019-03-18
Summary: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.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.9 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C)
5.7 Medium (Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
3.8 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-264
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2013-2171

Source: CCN
Type: SA53809
FreeBSD mmap Security Bypass Vulnerability

Source: CONFIRM
Type: UNKNOWN
http://svnweb.freebsd.org/base?view=revision&revision=251901

Source: DEBIAN
Type: UNKNOWN
DSA-2714

Source: DEBIAN
Type: DSA-2714
kfreebsd-9 -- programming error

Source: CCN
Type: FreeBSD-SA-13:06.mmap
Privilege escalation via mmap

Source: FREEBSD
Type: Vendor Advisory
FreeBSD-SA-13:06

Source: CCN
Type: BID-60615
FreeBSD CVE-2013-2171 Local Privilege Escalation Vulnerabiity

Source: XF
Type: UNKNOWN
freebsd-cve20132171-priv-esc(85089)

Source: CCN
Type: Packet Storm Security [06-19-2013]
FreeBSD mmap Privilege Escalation

Source: CCN
Type: Packet Storm Security [06-22-2013]
FreeBSD 9.0+ Privilege Escalation

Source: CCN
Type: Packet Storm Security [06-26-2013]
FreeBSD 9 Address Space Manipulation Privilege Escalation

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [06-21-2013]

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [06-26-2013]

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:9.0:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:9.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:9.1:p4:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:9.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:19666
    P
    DSA-2714-1 kfreebsd-9 - programming error
    2014-06-23
    BACK
    freebsd freebsd 9.0
    freebsd freebsd 9.1
    freebsd freebsd 9.1 p4
    freebsd freebsd 9.0 -