CVE-2023-2008 - Analyzing and exploiting a bug in the udmabuf driver
An article about exploiting a logical bug in the fault handler implementation of udmabuf mappings.
The exploit shared by Eloi Sanfelix gains root on Ubuntu. Triggering the bug requires the user to be in the kvm group.
An article about exploiting a logical bug in the fault handler implementation of udmabuf mappings.
The exploit shared by Eloi Sanfelix gains root on Ubuntu. Triggering the bug requires the user to be in the kvm group.
labs.bluefrostsecurity.de
CVE-2023-2008 - Analyzing and exploiting a bug in the udmabuf driver | Bluefrostsecurity
🔥5👍1🤔1🎉1
Breaking the Code - Exploiting and Examining CVE-2023-1829 in cls_tcindex Classifier Vulnerability
An article by Vu Thi Lan about exploiting a slab use-after-free bug in the netfilter subsystem.
The shared exploit gains root on Ubuntu.
An article by Vu Thi Lan about exploiting a slab use-after-free bug in the netfilter subsystem.
The shared exploit gains root on Ubuntu.
STAR Labs
Breaking the Code - Exploiting and Examining CVE-2023-1829 in cls_tcindex Classifier Vulnerability
Background The discovery and analysis of vulnerabilities is a critical aspect of cybersecurity research. Today, we will dive into CVE-2023-1829, a vulnerability in the cls_tcindex network traffic classifier found by Valis. We will explore the process of exploiting…
🔥10👍2
UNCONTAINED: Uncovering Container Confusion in the Linux Kernel
A paper (overview) by Jakob Koschel, Pietro Borrello, et al. about finding type confusion bugs in container_of invocations.
A paper (overview) by Jakob Koschel, Pietro Borrello, et al. about finding type confusion bugs in container_of invocations.
🔥14👍3🎉1
Dirty Pagetable: A Novel Exploitation Technique To Rule Linux Kernel
An article by Nicolas Wu about the Dirty Pagetable exploitation technique.
Dirty Pagetable enables using a slab bug to overwrite userspace Page Table Entries and gain arbitrary read/write access to physical memory.
To demonstrate the technique, Nicolas Wu and Ye Zhang wrote a few exploits, including one for CVE-2023-21400, a racy slab double-free in the io_uring subsystem. The exploit gains root on Pixel 7.
An article by Nicolas Wu about the Dirty Pagetable exploitation technique.
Dirty Pagetable enables using a slab bug to overwrite userspace Page Table Entries and gain arbitrary read/write access to physical memory.
To demonstrate the technique, Nicolas Wu and Ye Zhang wrote a few exploits, including one for CVE-2023-21400, a racy slab double-free in the io_uring subsystem. The exploit gains root on Pixel 7.
👍14🔥4
No CVE for this bug which has never been in the official kernel
Javier P Rufo published an article about exploiting a slab use-after-free bug in the ptrace subsystem via a cross-cache attack.
Javier P Rufo published an article about exploiting a slab use-after-free bug in the ptrace subsystem via a cross-cache attack.
👏6👍1
A new method for container escape using file-based DirtyCred
An article by Choo Yi Kai about escaping a Docker container by overwriting /proc/sys/kernel/modprobe via the DirtyCred exploitation technique.
The article also describes a way to delay the page fault handler via FALLOC_FL_PUNCH_HOLE for winning a race condition, similar to the commonly-used userfaultfd and FUSE–based techniques.
An article by Choo Yi Kai about escaping a Docker container by overwriting /proc/sys/kernel/modprobe via the DirtyCred exploitation technique.
The article also describes a way to delay the page fault handler via FALLOC_FL_PUNCH_HOLE for winning a race condition, similar to the commonly-used userfaultfd and FUSE–based techniques.
STAR Labs
A new method for container escape using file-based DirtyCred
Recently, I was trying out various exploitation techniques against a Linux kernel vulnerability, CVE-2022-3910. After successfully writing an exploit which made use of DirtyCred to gain local privilege escalation, my mentor Billy asked me if it was possible…
👍7
StackRot (CVE-2023-3269): Linux kernel privilege escalation vulnerability
An article by Ruihan Li about exploiting StackRot — a locking bug in the virtual memory management subsystem that leads to a UAF-by-RCU vulnerability.
The author also shared an exploit that acquires root privileges in the Google kCTF challenge.
An article by Ruihan Li about exploiting StackRot — a locking bug in the virtual memory management subsystem that leads to a UAF-by-RCU vulnerability.
The author also shared an exploit that acquires root privileges in the Google kCTF challenge.
GitHub
GitHub - lrh2000/StackRot: CVE-2023-3269: Linux kernel privilege escalation vulnerability
CVE-2023-3269: Linux kernel privilege escalation vulnerability - lrh2000/StackRot
👏4👍2🔥2
GameOver(lay): Easy-to-exploit local privilege escalation vulnerabilities in Ubuntu Linux
An article by Sagi Tzadik and Shir Tamari about finding and exploiting two logical bugs in the OverlayFS implementation on Ubuntu kernels.
An article by Sagi Tzadik and Shir Tamari about finding and exploiting two logical bugs in the OverlayFS implementation on Ubuntu kernels.
wiz.io
GameOverlay Vulnerability Impacts 40% of Ubuntu Workloads | Wiz Blog
Wiz Research discovers CVE-2023-2640 & CVE-2023-32629, 2 privilege escalation vulnerabilities in Ubuntu's OverlayFS module impacting 40% of cloud workloads.
👍4
Bad io_uring: A New Era of Rooting for Android
Slides from a talk by Zhenpeng Lin about exploiting an invalid-free bug in the io_uring subsystem on Android.
The shared exploit gains root on Pixel 6 and Samsung Galaxy S22
Slides from a talk by Zhenpeng Lin about exploiting an invalid-free bug in the io_uring subsystem on Android.
The shared exploit gains root on Pixel 6 and Samsung Galaxy S22
👍5😱4
Linux Kernel Exploit (CVE-2022–32250) with mqueue
An article about exploiting a slab use-after-free bug in the netfilter subsystem.
The shared exploit escalates privileges to root on the Ubuntu kernel.
An article about exploiting a slab use-after-free bug in the netfilter subsystem.
The shared exploit escalates privileges to root on the Ubuntu kernel.
Medium
Linux Kernel Exploit (CVE-2022–32250) with mqueue
Background
👍4
CVE-2023-3389 - LinkedPoll
Querijn Voet published an article about exploiting a race condition causing a use-after-free in the io_uring subsystem.
Querijn Voet published an article about exploiting a race condition causing a use-after-free in the io_uring subsystem.
X (formerly Twitter)
Qyn (@qynln) on X
CTF player @WreckTheLine
👍5🔥1
Old bug, shallow bug: Exploiting Ubuntu at Pwn2Own Vancouver 2023
An article by Tanguy Dubroca about exploiting a stack out-of-bounds bug in the netfilter subsystem (yet again).
The shared exploit gains root privileges on Ubuntu.
An article by Tanguy Dubroca about exploiting a stack out-of-bounds bug in the netfilter subsystem (yet again).
The shared exploit gains root privileges on Ubuntu.
Synacktiv
Old bug, shallow bug: Exploiting Ubuntu at Pwn2Own Vancouver 2023
👍6👏3
CVE-2023-4273: a vulnerability in the Linux exFAT driver
An article by Maxim Suhanov about bypassing the kernel lockdown by exploiting a stack buffer-overflow in the exFAT driver.
An article by Maxim Suhanov about bypassing the kernel lockdown by exploiting a stack buffer-overflow in the exFAT driver.
My DFIR Blog
CVE-2023-4273: a vulnerability in the Linux exFAT driver
According to the exFAT file system specification, the maximum length of a file name is 255 characters (UTF-16LE): The FileName field shall contain a Unicode string, which is a portion of the file n…
👍6
Rustproofing Linux
Four-part article describing the vulnerability classes that may exist in the Linux kernel modules written in Rust language.
▪️Part 1 is about leaking kernel addresses
▪️Part 2 describes race conditions
▪️Part 3 discusses integer overflows
▪️Part 4 goes through shared memory bugs
Four-part article describing the vulnerability classes that may exist in the Linux kernel modules written in Rust language.
▪️Part 1 is about leaking kernel addresses
▪️Part 2 describes race conditions
▪️Part 3 discusses integer overflows
▪️Part 4 goes through shared memory bugs
Nccgroup
Cyber Security Research
Cutting-edge cyber security research from NCC Group. Find public reports, technical advisories, analyses, & other novel insights from our global experts.
👍21
Tickling and unleashing ksmbd
Two articles about fuzzing and remotely exploiting ksmbd — the Linux kernel SMB module — by notselwyn.
The first article describes how the author used syzkaller and KCOV for coverage-guided fuzzing of ksmbd.
The second article demonstrates how to exploit two of the found bugs: a null-pointer-dereference that leads to a DoS and an out-of-bounds read that leads to an info-leak.
Two articles about fuzzing and remotely exploiting ksmbd — the Linux kernel SMB module — by notselwyn.
The first article describes how the author used syzkaller and KCOV for coverage-guided fuzzing of ksmbd.
The second article demonstrates how to exploit two of the found bugs: a null-pointer-dereference that leads to a DoS and an out-of-bounds read that leads to an info-leak.
Pwning Tech
Tickling ksmbd: fuzzing SMB in the Linux kernel
Following the adventure of manually discovering network-based vulnerabilities in the Linux kernel, I'm adding ksmbd-fuzzing functionality to the already extensive kernel-fuzzing tool that is Syzkaller.
👍5
Analyzing a Modern In-the-wild Android Exploit
An article by Seth Jenkins about analyzing the kernel privilege escalation stage of an Android exploit detected in the wild.
The analyzed stage used a locking bug in the ALSA subsystem and a poorly designed interface feature of the Mali GPU driver to achieve an arbitrary read/write primitive from the system_server context.
An article by Seth Jenkins about analyzing the kernel privilege escalation stage of an Android exploit detected in the wild.
The analyzed stage used a locking bug in the ALSA subsystem and a poorly designed interface feature of the Mali GPU driver to achieve an arbitrary read/write primitive from the system_server context.
projectzero.google
Analyzing a Modern In-the-wild Android Exploit - Project Zero
By Seth Jenkins, Project ZeroIntroductionIn December 2022, Google’s Threat Analysis Group (TAG) discovered an in-the-wild exploit chain targeting Samsu...
👍5
kernel-hardening-checker
My open source tool for checking the security hardening options of the Linux kernel got a new name: kernel-hardening-checker.
Now it supports checking:
1️⃣ Kconfig options (compile-time)
2️⃣ Kernel cmdline arguments (boot-time)
3️⃣ Sysctl parameters (runtime)
My open source tool for checking the security hardening options of the Linux kernel got a new name: kernel-hardening-checker.
Now it supports checking:
1️⃣ Kconfig options (compile-time)
2️⃣ Kernel cmdline arguments (boot-time)
3️⃣ Sysctl parameters (runtime)
GitHub
GitHub - a13xp0p0v/kernel-hardening-checker: A tool for checking the security hardening options of the Linux kernel
A tool for checking the security hardening options of the Linux kernel - a13xp0p0v/kernel-hardening-checker
👍16👏3🤔1
Escaping the Google kCTF Container with a Data-Only Exploit
An article by h0mbre about exploiting a use-after-free on struct file in the io_uring subsystem.
The exploit uses a cross-cache attack to reclaim the freed struct file with a pipe buffer, fakes two different file structs to gain arbitrary address read and write, gets root privileges, and escapes the kernelCTF container.
An article by h0mbre about exploiting a use-after-free on struct file in the io_uring subsystem.
The exploit uses a cross-cache attack to reclaim the freed struct file with a pipe buffer, fakes two different file structs to gain arbitrary address read and write, gets root privileges, and escapes the kernelCTF container.
The Human Machine Interface
Escaping the Google kCTF Container with a Data-Only Exploit
Introduction I’ve been doing some Linux kernel exploit development/study and vulnerability research off and on since last Fall and a few months ago I had some downtime on vacation to sit and challenge myself to write my first data-only exploit for a real…
👍13
Enable MTE on Pixel 8
Instructions for enabling Memory Tagging Extension for the kernel on Pixel 8 by Kees Cook.
The instructions describe how to enable kernel MTE in the reporting mode. Enabling MTE as a mitigation for kernel memory corruptions requires additionally passing
MTE as a kernel mitigation is still an experimental feature and requires improvements as previously pointed out by Mark Brand.
Instructions for enabling Memory Tagging Extension for the kernel on Pixel 8 by Kees Cook.
The instructions describe how to enable kernel MTE in the reporting mode. Enabling MTE as a mitigation for kernel memory corruptions requires additionally passing
kasan.fault=panic to the kernel command-line as pointed out by Andrey Konovalov.MTE as a kernel mitigation is still an experimental feature and requires improvements as previously pointed out by Mark Brand.
👍2🤔1
Exploring Linux's New Random Kmalloc Caches
An article by sam4k about the new CONFIG_RANDOM_KMALLOC_CACHES mitigation.
The article gives an overview of the currently used slab exploitation techniques, provides a deep analysis of the CONFIG_RANDOM_KMALLOC_CACHES implementation, and reasons about how the new mitigation affects the existing techniques.
An article by sam4k about the new CONFIG_RANDOM_KMALLOC_CACHES mitigation.
The article gives an overview of the currently used slab exploitation techniques, provides a deep analysis of the CONFIG_RANDOM_KMALLOC_CACHES implementation, and reasons about how the new mitigation affects the existing techniques.
sam4k
Exploring Linux's New Random Kmalloc Caches
Let's explore the modern kernel heap exploitation meta and how the new RANDOM_KMALLOC_CACHES tries to address it.
👍9🔥2