Linux kernel: CVE-2017-1000112: a memory corruption due to UFO to non-UFO path switch
A memory corruption flaw in the Linux kernel's handling of UFO packets when switching between UFO and non-UFO paths could be exploited by an unprivileged local user to gain kernel code execution and root privileges.
- Fixed in 12 days
- Disclosed after 12 days
Hi!
CVE-2017-1000112 is a vulnerability I found in the Linux kernel caused by a UFO to non-UFO path switch for UFO packets. It can be exploited to gain kernel code execution from an unprivileged process.
This vulnerability was reported to [email protected] and linux-distros@ following the coordinated disclosure process and then announced on oss-security@. The fix was committed on Aug 10, 2017.
I wrote a proof-of-concept exploit for a range of Ubuntu kernels Ubuntu kernel which gains root from an unprivileged user, which can be found here. More details about the vulnerability and exploitation can be found in the oss-security announcement.
The reason I'm reporting this now is that a similar bug that I've reported a while ago has recently been triaged and addressed, so it seems that LPE Linux kernel bugs are within the scope of this IBB program.
Thanks!
Impact
This vulnerability allows a local attacker to elevate privileges to root on a machine with vulnerable Linux kernel version.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory corruption caused by an incorrect switch between UFO and non-UFO code paths when handling UFO packets.
Impact
A local attacker could elevate privileges to root on a machine with a vulnerable Linux kernel version.
What the attacker needed
Local access to a vulnerable Linux system; unprivileged user account
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a bug in the core of the Linux operating system (the kernel) that manages network packets. A normal user on the machine could use it to become the administrator (root) and take full control. The problem is in how the kernel handles a special type of network packet when it changes its processing path.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.