Stack Clash (CVE-2017-1000364): Memory Management Privilege Escalation
The 'Stack Clash' vulnerability, primarily CVE-2017-1000364, exposed a flaw in how several UNIX-like operating systems, including Linux, managed memory. Attackers could exploit the collision between the stack and other memory regions to corrupt memory and execute arbitrary code, leading to privilege escalation and container escapes.
The top 3
- Historical Precedent: Stack Clash's 2005 Roots: The Stack Clash technique, though formalized in CVE-2017-1000364, was first exploited in 2005 and again in 2010 (CVE-2010-2240), leading to Linux's initial "stack guard page" defense.
- Bypassing the Guard: How 4KB Was Not Enough: CVE-2017-1000364 exploited the insufficiency of the standard 4KB stack guard page, allowing the stack to "jump over" this protective barrier and collide with adjacent memory regions for privilege escalation.
- Widespread Reach: Unix-like Systems Most Vulnerable: This flaw impacted a broad array of Unix-like operating systems, including Linux, OpenBSD, NetBSD, FreeBSD, and Solaris on i386 and amd64 architectures, enabling local root privilege escalation.
Sources
Open the full topic