关联漏洞
描述
Exploit code for CVE-2023-42914 / pwn2own Vancouver 2023
介绍
# macOS LPE (CVE-2023-32413 / ZDI-23-845 / Pwn2Own Vancouver 2023) exploit
This is the exploit code that has been played at Pwn2Own Vancouver 2023 (https://youtu.be/c0cS4R0ja-I?t=180).
This code exploits [CVE-2023-32413](https://nvd.nist.gov/vuln/detail/CVE-2023-32413) to gain root rights on any vulnerable macOS. The vulnerability is a logic TOCTOU that can be used to overwrite any file that can be read. The exploit is fast, 100% reliable, give a root shell AND display an animated ascii art (🥷🔪🍎).
The vulnerability has been patched in may 2023 but the associated (partial) SIP bypass was still present ([CVE-2023-42914](https://nvd.nist.gov/vuln/detail/CVE-2023-42914)), this other bug has been fixed in december 2023.
More details can be found in the "Finding and Exploiting an Old XNU Logic Bug" presentation made at Hexacon 2023: https://www.synacktiv.ninja/sites/default/files/2024-11/finding_and_exploiting_an_old_xnu_logic_bug.pdf / https://www.youtube.com/watch?v=J2QR58JAO7Q
文件快照
[4.0K] /data/pocs/e62067a032a9f29c7f6bb8e4f8763ba84d5e17d4
├── [ 15K] exploit.c
└── [1001] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。