Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2023-42931 — The exploit targets a critical privilege escalation vulnerability in macOS versions Monterey, Ventura, and Sonoma. | Kitploit
Tools/GitHubGitHub/d0rb/cve-2023-42931
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & EducationBinary Exploitation
GitHubd0rb/cve-2023-42931

CVE-2023-42931

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

View Repository
72 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

🇮🇱 #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. 📝

Download Tool