CVE-2017-1000370
HIGHLinux Kernel 4.1-4.1.43 - Stack Clash via PIE Binary Execution
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2017-1000370. PoCs published by Qualys Corporation.
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 in the Linux Kernel contains a vulnerability that allows a PIE binary to be execve()'ed with 1GB of arguments or environmental strings then the stack occupies the address 0x80000000 and the PIE binary is mapped above 0x40000000 nullifying the protection of the offset2lib patch. This affects Linux Kernel version 4.11.5 and earlier. This is a different issue than CVE-2017-1000371. This issue appears to be limited to i386 based systems.
Exploits (2)
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 leverages CVE-2017-1000370, a vulnerability in the Linux dynamic loader (ld.so) related to the handling of the HWCAP mechanism. It injects a malicious shared library to achieve privilege escalation by manipulating the environment variables and library search paths.
References (6)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H