9 matches found
CVE-2023-32413
Exploit per macOS LPE CVE-2023-32413 / ZDI-23-845 / Pwn2Own Vancouver 2023 Questo è il codice dell'exploit che è stato mostrato al Pwn2Own Vancouver 2023 https://youtu.be/c0cS4R0ja-I?t=180. Questo codice sfrutta CVE-2023-32413 per ottenere privilegi di root su qualsiasi macOS vulnerabile. La...
MacDirtyCow
MacDirtyCow Esempio di CVE-2022-46689, noto anche come MacDirtyCow. Cosa? MacDirtyCow è una vulnerabilità di escalation dei privilegi in macOS, simile alla vulnerabilità Dirty COW in Linux. La vulnerabilità risiede nel meccanismo copy-on-write COW utilizzato dal kernel XNU di macOS. La...
MacDirtyCowDemo
Ottieni root su macOS 13.0.1 con CVE-2022-46689 equivalente macOS del bug Dirty Cow, utilizzando il test case estratto da Apple's XNU source. https://worthdoingbadly.com/macdirtycow/ Utilizzo Su una macchina macOS 13.0.1 / 12.6.1 o inferiore, esegui: root@kitploit: clang -o switcharoo...
macOS XNU - Missing Locking in checkdirs_callback() Enables Race with fchdir_common() Exploit
On macOS, when a new mount point is created, the kernel uses checkdirs to, as a comment above the function explains: "Scan all active processes to see if any of them have a current or root directory onto which the new filesystem has just been mounted. If so, replace them with the new mount point....
macOS XNU - Missing Locking in checkdirs_callback() Enables Race with fchdir_common()
macOS XNU - Missing Locking in checkdirscallback Enables Race with fchdircommon On macOS, when a new mount point is created, the kernel uses checkdirs to, as a comment above the function explains: "Scan all active processes to see if any of them have a current or root directory onto which the new...
macOS XNU - Copy-on-Write Behavior Bypass via Mount of User-Owned Filesystem Image
macOS XNU - Copy-on-Write Behavior Bypass via Mount of User-Owned Filesystem Image XNU has various interfaces that permit creating copy-on-write copies of data between processes, including out-of-line message descriptors in mach messages. It is important that the copied memory is protected agains...
macOS XNU - Copy-on-Write Behavior Bypass via Mount of User-Owned Filesystem Image
XNU has various interfaces that permit creating copy-on-write copies of data between processes, including out-of-line message descriptors in mach messages. It is important that the copied memory is protected against later modifications by the source process; otherwise, the source process might be...
macOS XNU - Copy-on-Write Behaviour Bypass via Partial-Page Truncation of File
/ XNU has various interfaces that permit creating copy-on-write copies of data between processes, including out-of-line message descriptors in mach messages. It is important that the copied memory is protected against later modifications by the source process; otherwise, the source process might ...
Apple macOS XNU Kernel - Memory Disclosure due to bug in Kernel API for Detecting Kernel Memory Disclosures
/ Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=1372 the kernel libproc API proclistuptrs has the following comment in it's userspace header: / Enumerate potential userspace pointers embedded in kernel data structures. Currently inspects kqueues only. NOTE: returned "pointers"...