
PoC per determinare se Fortinet è vulnerabile a CVE-2025-59718 / CVE-2025-59719
Strumento per il rilevamento delle vulnerabilità associate a CVE-2025-59718 e CVE-2025-59719 su dispositivi Fortinet (FortiOS / FortiGate), mediante molteplici tecniche di identificazione: passive, attive e autenticate.
Supporta: • Rilevamento passivo tramite fingerprinting • Verifica attiva (non distruttiva) • Connessione autenticata via SSH • Scansione massiva da file • Esportazione di risultati strutturati (JSON)
python3 main.py --mode passive --target firewall.company.com --active-test
python3 main.py --mode ssh --target 192.168.1.1 --user admin --password 'MyPass123'
python3 main.py --mode ssh --targets targets.txt --user admin --keyfile ~/.ssh/fw_key
python3 main.py --mode passive --target https://firewall.company.com
python3 main.py --mode passive --targets ips.txt --json results.json
python3 main.py --mode passive --target firewall.company.com --json out.json --quiet
python3 main.py --mode passive --targets ips.txt --active-test --json results.json
[*] [1/3] Scansionando 192.168.1.1...
[*] Connessione via SSH a 192.168.1.1:22...
======================================================================
Target: 192.168.1.1
Mode: ssh
Verdict: [!!!] VULNERABLE - EXISTS
Confidence: high
Product: FortiOS
Version: 7.4.5
Patch Version: 7.4.9 or higher
FortiCloud SSO: ENABLED
Indicators:
• Prodotto rilevato: FortiOS v7.4.5
• ⚠️ Versione 7.4.5 è in range VULNERABILE
• ⚠️ Login FortiCloud SSO è ABILITATO
Notes:
• Aggiornare alla versione 7.4.9 o superiore
• 🚨 CRITICO: Sistema VULNERABILE e FortiCloud SSO ABILITATO
• 🚨 Questo sistema sta venendo sfruttato attivamente in-the-wild
• 🚨 AZIONE IMMEDIATA RICHIESTA
======================================================================
Se questo strumento ti è stato utile o vuoi supportare sviluppi futuri, puoi offrirmi un caffè ☕ o fare una donazione. Ogni supporto conta!
Credo in un mondo dove gli utenti hanno il controllo sulla propria privacy. Questo strumento nasce dalla trincea del pentesting reale, con amore per la libertà digitale e l'hacking con scopo.
⭐ Se ti è piaciuto questo progetto, dagli una stella su GitHub e condividilo con la tua comunità.