CVE-2017-1000371
HIGHLinux Kernel 4.1-4.1.43 - Stack Guard Page Bypass via RLIMIT_STACK Allocation
Title source: llmExploitation Summary
EIP tracks 3 public exploits for CVE-2017-1000371. PoCs published by Qualys Corporation, Trinadh465.
AI-analyzed exploit summary This exploit checks for the presence of CVE-2017-1000371 by analyzing memory mappings to detect if the stack or library regions are too close to the binary's memory region. It uses forked processes to test the vulnerability under different conditions.
Description
The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.
Exploits (3)
This exploit checks for the presence of CVE-2017-1000371 by analyzing memory mappings to detect if the stack or library regions are too close to the binary's memory region. It uses forked processes to test the vulnerability under different conditions.
This exploit targets CVE-2017-1000371, a vulnerability in the Linux dynamic loader (ld.so) affecting multiple distributions. It manipulates ELF binaries and auxiliary vectors to achieve arbitrary code execution by exploiting a buffer overflow in the dynamic linker.
The repository contains only documentation files and build scripts from the Linux kernel, with no exploit code or technical analysis related to CVE-2017-1000371. It appears to be a partial or mislabeled kernel source dump.
References (6)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H