Skip to content

The exploit targets a critical privilege escalation vulnerability in macOS versions Monterey, Ventura, and Sonoma.

Notifications You must be signed in to change notification settings

d0rb/CVE-2023-42931

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

🇮🇱 #BringThemHome #NeverAgainIsNow 🇮🇱

We demand the safe return of all citizens who have been taken hostage by the terrorist group Hamas. We will not rest until every hostage is released and returns home safely. You can help bring them back home. https://stories.bringthemhomenow.net/

macOS Privilege Escalation Exploit 💻

I wrote this PoC based on this article : https://www.alter-solutions.fr/blog/local-privilege-escalating-my-way-to-root-throught-apple-macos-filesystems

This repository contains an exploit script targeting a critical privilege escalation vulnerability (CVE-2023-42931) affecting macOS versions Monterey, Ventura, and Sonoma. 🚨

Vulnerability Description ⚠️

The vulnerability allows unprivileged users to gain full root control over the system by exploiting the "diskutil" command line utility. This poses a significant security risk to affected macOS systems. 🔒

Exploit Overview 🚀

The exploit script leverages the "diskutil" command to mount filesystems with specific options, enabling the attacker to escalate their privileges. It involves creating a setuid shell payload, modifying filesystem permissions, copying the payload to a placeholder file, setting permissions and setuid bit, and executing the payload to gain root access. 💥

Usage 🛠️

  1. Clone the repository.
  2. Execute the exploit script.
  3. Follow the on-screen instructions.

Disclaimer ⚠️

This exploit script is provided for educational purposes only. Use it at your own risk. The author takes no responsibility for any misuse or damage caused by this script. ⚠️

Credits 👏

Special thanks to Yann Gascuel (Alter Solutions) for identifying and detailing the vulnerability. 🙏

License 📃

This project is licensed under the MIT License - see the LICENSE file for details. 📝

About

The exploit targets a critical privilege escalation vulnerability in macOS versions Monterey, Ventura, and Sonoma.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages