Exploitation Summary
EIP tracks 2 public exploits for CVE-2004-0077. PoCs published by Paul Starzetz, Christophe Devine.
AI-analyzed exploit summary This exploit targets a Linux kernel vulnerability (CVE-2004-0077) in the mremap system call, allowing local privilege escalation by manipulating page table entries to execute arbitrary code in the context of a setuid binary.
Description
The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.
Exploits (2)
This exploit targets a Linux kernel vulnerability (CVE-2004-0077) in the mremap system call, allowing local privilege escalation by manipulating page table entries to execute arbitrary code in the context of a setuid binary.
This exploit tests the vulnerability in the Linux kernel's do_mremap() function (CVE-2004-0077) by repeatedly mapping memory regions and attempting to mremap them to overlapping addresses. It demonstrates the potential for local privilege escalation due to improper bounds checking.