Vulnerability
CVE-2017-1000112
Vulnerability details
- Score
- 7.0
- Severity
- high
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. When building a UFO packet with MSG_MORE __ip_append_data() calls ip_ufo_append_data() to append. However in between two send() calls, the append path can be switched from UFO to non-UFO one, which leads to a memory corruption. In case UFO packet lengths exceeds MTU, copy = maxfraglen - skb->len becomes negative on the non-UFO path and the branch to allocate new skb is taken. This triggers fragmentation and computation of fraggap = skb_prev->len - maxfraglen. Fraggap can exceed MTU, causing copy = datalen - transhdrlen - fraggap to become negative. Subsequently skb_copy_and_csum_bits() writes out-of-bounds. A similar issue is present in IPv6 code. The bug was introduced in e89e9cf539a2 ("[IPv4/IPv6]: UFO Scatter-gather approach") on Oct 18 2005.
CVE ProgramExploit source choices
22 sourcesThis module attempts to gain root privileges on Linux systems by abusing UDP Fragmentation Offload (UFO). This exploit targets only systems using Ubuntu (Trusty / Xenial) kernels 4.4.0-21 <= 4.4.0-89 and 4.8.0-34 <= 4.8.0-58, including Linux distros based on Ubuntu, such as Linux Mint. The target system must have unprivileged user namespaces enabled and SMAP disabled. Bypasses for SMEP and KASLR are included. Failed exploitation may crash the kernel. This module has been tested successfully on various Ubuntu and Linux Mint systems, including: Ubuntu 14.04.5 4.4.0-31-generic x64 Desktop; Ubuntu 16.04 4.8.0-53-generic; Linux Mint 17.3 4.4.0-89-generic; Linux Mint 18 4.8.0-58-generic
Linux kernel CVE exploit analysis report and relative debug environment. You don't need to compile Linux kernel and configure your environment anymore.
Various kernel exploits
Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.
Linux Eelvation(持续更新)
Localroot Compile
⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")
Linux privilege escalation auditing tool
albinjoshy03/linux-kernel-exploits source repository
Exploit work Privilege Escalation CVE-2017-1000112
POE code for CVE-2017-1000112 adapted to both funtion on a specific VM and Escape a Docker
spydomain/cve-2017-1000112-poc source repository
0xto/linux-kernel-exploits source repository
84kaliplexon3/linux-exploit-suggester source repository
alian87/linux-kernel-exploits source repository
bikash88588/linux-exploit-suggester.sh source repository
c0dak/linux-kernel-exploits source repository
coffee727/linux-exp source repository
copperfieldd/linux-kernel-exploits source repository