CVE-2007-0958: Low severity Linux Linux kernel vulnerability
CVE-2004-1073 is still an issue -- a patched PoC can still cause a coredump of a non-readable binary such as /usr/bin/sudo; PoC attached; the tweak is question is adding:
eph.pmemsz = 4097;
Run "./poc /usr/bin/sudo" and a "core" spits out -- WFM on a 2.6.17.x kernel.
To reproduce, do grab poc at the end of advisory. add line "eph.pmemsz = 4096;" after "eph.pfilesz = 4096;" where first "4096" is something equal to or greater than 4096. ./poc /usr/bin/sudo && ls -l
Here I get:
-rw------- 1 ad ad 102400 2007-01-15 19:17 core ---s--x--x 2 root root 101820 2007-01-15 19:15 /usr/bin/sudo
Check for MAYREAD as binfmtmisc.c does.
Other sources
Linux kernel 2.6.x before 2.6.20 allows local users to read unreadable binaries by using the interpreter (PTINTERP) functionality and triggering a core dump, a variant of CVE-2004-1073.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/RHSA-2007to a version that resolves this vulnerability.Fixed in 0488 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 2.6.20
Event History
Frequently Asked Questions
What is the severity of CVE-2007-0958?
CVE-2007-0958 is rated as important due to its potential impact on the confidentiality of data.
How do I fix CVE-2007-0958?
To mitigate CVE-2007-0958, upgrade the Linux kernel to version 2.6.20 or later.
Who is affected by CVE-2007-0958?
CVE-2007-0958 affects local users on systems running Linux kernel versions from 2.6.11 to 2.6.19.
What impact does CVE-2007-0958 have on systems?
CVE-2007-0958 allows local users to read files that are normally unreadable by exploiting core dump functionality.
Is CVE-2007-0958 related to any previous vulnerabilities?
Yes, CVE-2007-0958 is a variant of CVE-2004-1073.