Exploitation Summary
EIP tracks 3 public exploits for CVE-2017-7184. PoCs published by shakyanayann, Grish-Pradhan, b1nhack.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2017-7184, a Linux kernel local privilege escalation vulnerability. The exploit triggers an out-of-bounds write in the XFRM subsystem by manipulating the replay state of an IPsec SA (Security Association).
Description
The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.
Exploits (3)
This repository contains a functional exploit for CVE-2017-7184, a Linux kernel local privilege escalation vulnerability. The exploit triggers an out-of-bounds write in the XFRM subsystem by manipulating the replay state of an IPsec SA (Security Association).
This is a functional privilege escalation exploit for CVE-2017-7184, leveraging user namespaces to gain CAP_NET_ADMIN and then exploiting a kernel stack overflow in the XFRM subsystem to achieve root. The PoC includes a ROP chain to bypass kernel protections and spawn a root shell.
This is a functional exploit for CVE-2017-7184, a Linux kernel vulnerability in the XFRM subsystem. It leverages a heap overflow to achieve local privilege escalation by manipulating netlink messages and spawning processes to gain root access.
References (15)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H