
VampSecure Labs: FortiOS-CVE-Scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)
Multi-Vendor-Edge-Device-CVE-Scanner — VampSecure Labs
vamp-forticheck ist ein asynchroner, nicht-destruktiver Sicherheitsscanner, der CVE-Schwachstellen bei sieben großen Netzwerksicherheitsherstellern erkennt. Er führt eine strukturierte dreiphasige Analyse durch:
Die Abdeckung umfasst 16 CVEs bei 7 Herstellern: FortiOS/FortiGate, Palo Alto PAN-OS, Cisco ASA, Cisco IOS-XE, Check Point Gateway, Juniper Junos und F5 BIG-IP.
asyncio + aiohttp mit konfigurierbarer ParallelitätCVSS × confidence_factor (1.0 für bestätigte Befunde, 0.55 nur bei Versionsübereinstimmung)vampsec_reportPython 3.11+
aiohttp >= 3.9.0
rich >= 13.7.0
Abhängigkeiten installieren:
pip install -r requirements.txt
pip install vamp-forticheck
# or with Homebrew:
brew install vampsecure-labs/labs/vamp-forticheck
git clone https://github.com/Vampsecure-Labs/vamp-forticheck.git
cd vamp-forticheck
pip install -r requirements.txt
python vamp_forticheck.py [OPTIONS]
Target selection:
-t, --target HOST [HOST ...] One or more targets (IP, hostname, or HOST:PORT)
-i, --input FILE File with one target per line
Scope:
-s, --scope FILE Allowlist file (CIDR blocks, wildcards, or exact hosts)
Performance:
-c, --concurrency N Maximum concurrent connections (default: 10)
--timeout N Per-request timeout in seconds (default: 10)
Output:
-o, --output FILE Write all findings to a JSON file
--html FILE Generate a standalone HTML report
-v, --verbose Show detailed probe traces and HTTP responses
Ein einzelnes Edge-Gerät scannen und einen JSON-Bericht schreiben:
python vamp_forticheck.py -t 203.0.113.1 -o results.json
Scannen Sie eine Zielliste innerhalb eines definierten Bereichs, mit HTML-Ausgabe und ausführlicher Protokollierung:
python vamp_forticheck.py -i targets.txt -s scope.txt --html report.html -v
Mehrere Hosts mit erhöhter Parallelität scannen:
python vamp_forticheck.py -t 10.0.0.1 10.0.0.2 10.0.0.254 -c 20 -o findings.json
Scannen Sie eine Verwaltungsschnittstelle auf einem nicht standardmäßigen Port:
python vamp_forticheck.py -t firewall.corp.example:8443 --html firewall_report.html
| Format | Aktivierung | Beschreibung |
|---|---|---|
| Konsole | Standard | Übersichtliche Tabelle mit Hersteller, CVE-IDs, CVSS-Score und Risikostufe pro Host |
| JSON | -o FILE | Maschinenlesbare Ergebnisse mit vollständigen Metadaten und Probe-Details |
| HTML | --html FILE | Eigenständiger Bericht im Dark-Theme zur Anzeige im Browser oder zur Archivierung |
| Kundenbericht | Konfiguriert über vampsec_report | Executive HTML + PDF für die Kundenlieferung |
| Code | Bedeutung | CI/CD-Nutzung |
|---|---|---|
0 | Keine Findings — alle Ziele sauber | Gate bestanden |
1 | Medium-/Low-Findings vorhanden | Überprüfung empfohlen |
2 | High-/Critical-Findings bestätigt | Gate fehlgeschlagen — sofort eskalieren |
| Stufe | Berechneter Score |
|---|---|
| CRITICAL | ≥ 9.0 |
| HIGH | ≥ 7.0 |
| MEDIUM | ≥ 4.0 |
| LOW | > 0.0 |
| INFO | 0.0 |
Score = CVSS_base × confidence_factor. Die Konfidenz beträgt 1.0, wenn eine Probe die Schwachstellenbedingung bestätigt, und 0.55, wenn das Finding allein auf der Offenlegung der Version basiert.
$ python vamp_forticheck.py -i targets.txt -s scope.txt --html report.html -v
vamp-forticheck v1.2.0 — VampSecure Labs
Targets: 6 | Scope file: scope.txt | Concurrency: 10
[Phase 1] Passive detection
192.168.1.1 FortiOS 7.0.x (HTTP header + login page artifact)
192.168.1.254 PAN-OS 10.1.x (X-FRAME-OPTIONS + GP portal fingerprint)
10.0.0.1 Cisco IOS-XE (HTTP/1.1 401 + Server: cisco-IOS)
10.0.0.254 Cisco ASA (SSL VPN portal fingerprint)
10.10.0.1 F5 BIG-IP (BigIP cookie + TMUI artifact)
10.10.0.2 Unknown (no vendor fingerprint matched)
[Phase 2] CVE probes
192.168.1.1 CVE-2024-21762 confirmed (pre-auth RCE — path traversal response)
192.168.1.1 CVE-2023-27997 confirmed (heap overflow — SSL-VPN probe positive)
192.168.1.254 CVE-2024-3400 version-match (PAN-OS 10.1 < 10.1.13-h3)
10.0.0.1 CVE-2023-20198 confirmed (HTTP server process — privilege escalation)
10.10.0.1 CVE-2023-46747 confirmed (TMUI unauthenticated RCE — 401 bypass)
[Phase 3] Secondary exposure
192.168.1.1 Admin interface exposed on port 8443 (HTTPS)
10.0.0.254 REST API management endpoint /api/cli reachable
10.10.0.1 iControl REST accessible without authentication
─────────────────────────────────────────────────────────────────────────────────
Host Vendor CVEs Risk score Level
192.168.1.1 FortiOS 2 9.6 CRITICAL
192.168.1.254 PAN-OS 1 6.0 (v-match) HIGH
10.0.0.1 IOS-XE 1 9.6 CRITICAL
10.0.0.254 Cisco ASA 0 0.0 INFO
10.10.0.1 F5 BIG-IP 1 9.6 CRITICAL
10.10.0.2 Unknown 0 0.0 INFO
─────────────────────────────────────────────────────────────────────────────────
Summary: 3 CRITICAL · 1 HIGH · 0 MEDIUM · 2 INFO
HTML report: report.html | Exit code: 2