CVE-2019-9213
MEDIUMReliable Datagram Sockets (RDS) rds_atomic_free_op NULL pointer dereference Privilege Escalation
Title source: metasploitExploitation Summary
EIP tracks 3 public exploits for CVE-2019-9213.
PoCs published by Metasploit, Google Security Research, Mohamed Ghannam, Jann Horn, wbowling, bcoles, nstarke, including Metasploit module exploits/linux/local/rds_atomic_free_op_null_pointer_deref_priv_esc.
AI-analyzed exploit summary This Metasploit module exploits a NULL pointer dereference in the `rds_atomic_free_op` function in the Linux kernel's RDS module (CVE-2018-5333) combined with a MAP_GROWSDOWN mmap_min_addr bypass (CVE-2019-9213) to achieve local privilege escalation on vulnerable Ubuntu 16.04 systems.
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.
Exploits (3)
This Metasploit module exploits a NULL pointer dereference in the `rds_atomic_free_op` function in the Linux kernel's RDS module (CVE-2018-5333) combined with a MAP_GROWSDOWN mmap_min_addr bypass (CVE-2019-9213) to achieve local privilege escalation on vulnerable Ubuntu 16.04 systems.
This exploit demonstrates a kernel NULL pointer dereference vulnerability (CVE-2019-9213) by mapping virtual address 0 on x86 systems without SMAP. It abuses a capability check flaw in `expand_downwards()` to bypass `dac_mmap_min_addr` restrictions, enabling exploitation of NULL pointer dereferences.
This Metasploit module exploits a NULL pointer dereference in the `rds_atomic_free_op` function in the Linux kernel's RDS module (CVE-2018-5333) combined with a MAP_GROWSDOWN mmap_min_addr bypass (CVE-2019-9213) to achieve local privilege escalation on vulnerable Ubuntu 16.04 systems.
References (26)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H