Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-46689 PoC — Apple iOS 和 macOS 竞争条件问题漏洞

Source
Associated Vulnerability
Title:Apple iOS 和 macOS 竞争条件问题漏洞 (CVE-2022-46689)
Description:Apple iOS和Apple macOS都是美国苹果(Apple)公司的产品。Apple iOS是一套为移动设备所开发的操作系统。Apple macOS是一套专为Mac计算机所开发的专用操作系统。 Apple iOS 和 macOS存在竞争条件问题漏洞。目前尚无此漏洞的相关信息,请随时关注CNNVD或厂商公告。
Description
poc of CVE-2022-46689 written purely in swift
Readme
# sw1tch

poc of CVE-2022-46689 written purely in swift

## Supported:
- iOS 16.0-16.1.2, 15.0-15.7.1

*dont use this is its unstable and only works sometimes, not my fault if your device gets damaged*


## Usage
- add to xcode project
- call function
- profit?


## Credits:
- [zhuowei](https://github.com/zhuowei/) for [MacDirtyCowDemo](https://github.com/zhuowei/MacDirtyCowDemo)
- [Apple](https://apple.com) for [vm_unaligned_copy_switch_race](https://github.com/apple-oss-distributions/xnu/blob/xnu-8792.61.2/tests/vm/vm_unaligned_copy_switch_race.c) test case
- [Ian Beer](https://twitter.com/i41nbeer) for finding [CVE-2022-46689](https://nvd.nist.gov/vuln/detail/CVE-2022-46689)

File Snapshot

[4.0K] /data/pocs/245cd0226d7fb646b0e134055710e873f09eadd4 ├── [ 688] README.md └── [ 13K] sw1tch.swift 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.