Exploit database

Vulnerability

CVE-2013-2171

Vulnerability details

Score
6.9
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:L/AC:M/Au:N/C:C/I:C/A:C

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.

CVE Program

Exploit source choices

5 sources
FreeBSD 9 Address Space Manipulation Privilege Escalation
MSF-freebsd--local--mmapMetasploitBSD / remote

This module exploits a vulnerability that can be used to modify portions of a process's address space, which may lead to privilege escalation. Systems such as FreeBSD 9.0 and 9.1 are known to be vulnerable.

2013-06-18mmap.rb
anoaghost/localroot_compile
GH-cb529ec43040e49cb46c85b183cdcf81GitHubUnofficial GitHub source

Localroot Compile

2019-08-0178 files · 23 stars