Exploit database

Vulnerability

CVE-2019-9213

Vulnerability details

Score
5.5
Severity
medium

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

In the Linux kernel before 4.20.14, expand_downwards in mm/mmap.c lacks a check for the mmap minimum address, which makes it easier for attackers to exploit kernel NULL pointer dereferences on non-SMAP platforms. This is related to a capability check for the wrong task.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

5 sources
Reliable Datagram Sockets (RDS) rds_atomic_free_op NULL pointer dereference Privilege Escalation
MSF-linux--local--rds_atomic_free_op_null_pointer_deref_priv_escMetasploitLinux / remote

This module attempts to gain root privileges on Linux systems by abusing a NULL pointer dereference in the `rds_atomic_free_op` function in the Reliable Datagram Sockets (RDS) kernel module (rds.ko). Successful exploitation requires the RDS kernel module to be loaded. If the RDS module is not blacklisted (default); then it will be loaded automatically. This exploit supports 64-bit Ubuntu Linux systems, including distributions based on Ubuntu, such as Linux Mint and Zorin OS. Target offsets are available for: Ubuntu 16.04 kernels 4.4.0 <= 4.4.0-116-generic; and Ubuntu 16.04 kernels 4.8.0 <= 4.8.0-54-generic. This exploit does not bypass SMAP. Bypasses for SMEP and KASLR are included. Failed exploitation may crash the kernel. This module has been tested successfully on various 4.4 and 4.8 kernels.

2018-11-01rds_atomic_free_op_null_pointer_deref_priv_esc.rb
bsauce/kernel-exploit-factory
GH-19aa051ff5153014d6646f547e3c4467GitHubUnofficial GitHub source

Linux kernel CVE exploit analysis report and relative debug environment. You don't need to compile Linux kernel and configure your environment anymore.

2020-12-11262 files · 1,308 stars
bsauce/kernel-security-learning
GH-c4865ec2b4e2c29d85b0e20b1503912fGitHubUnofficial GitHub source

Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.

2019-11-2798 files · 783 stars