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-22809-Exploiter | Kitploit
Tools/GitHubGitHub/d0rda4an919/cve-2023-22809-exploiter
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubd0rda4an919/cve-2023-22809-exploiter

CVE-2023-22809-Exploiter

View Repository
21 year 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

CVE-2023-22809 Exploiter Scripts

Disclaimer This script is provided for educational purposes only. The author is not responsible for any misuse or unintended consequences resulting from its use. Always follow ethical guidelines and obtain proper authorization before testing any security tools or exploits.

Description

This Python and Bash scripts are designed to exploit the CVE-2023-22809 vulnerability in sudo versions 1.8.0 through 1.9.12p1. This vulnerability allows a local attacker to escalate their privileges by exploiting improper handling of sudoedit or sudo -e commands.

Requirements

  • Python 3.x | Bash
  • sudo version 1.8.0 through 1.9.12p1 installed on the target machine
  • Access to the sudo command with potential sudoedit or sudo -e capabilities

Usage

Basic Usage

The basic usage of this script:

  • To execute the script and exploit CVE:
root@kitploit:~
python exploit.py

Or

root@kitploit:~
bash exploit.sh

Options

  • To see information about the vulnerability:
root@kitploit:~
python exploit.py -i

Or

root@kitploit:~
bash exploit.sh -i
  • To see pre requirements for the vulnerability:
root@kitploit:~
python exploit.py -r

Or

root@kitploit:~
bash exploit.sh -r
  • Help Section:
root@kitploit:~
python exploit.py -h

Or

root@kitploit:~
bash exploit.sh -h

Prerequisites

Before running the exploit, ensure the following:

  • Sudo Version: The target system must be running a vulnerable version of sudo. The script checks for versions between 1.8.0 and 1.9.12p1.0
  • Sudo Privileges: The current user must have the ability to run sudoedit or sudo -e on files as root.

Notes

  • The script attempts to open the /etc/sudoers file using vim if the user is found to be exploitable.
  • Important: Use this script only on systems where you have explicit permission to test for vulnerabilities. Unauthorized use of this script is illegal and unethical.

Author

  • Author: D0rDa4aN919

License

  • This project is licensed under the MIT License - see the LICENSE file for details.
Download Tool