
VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)
VampSecure Labs — Security Research Division
Critical vulnerability scanner for FortiOS/FortiGate devices.
Security auditing tool to assess the exposure of Fortinet devices to four publicly documented critical vulnerabilities. Designed exclusively for use in authorized environments (penetration testing, Red Team, contracted audits).
Performs asynchronous detection of multiple targets concurrently using AsyncIO and aiohttp, with Rich console output and report generation in JSON and HTML.
| CVE | CVSS | Description |
|---|---|---|
| CVE-2018-13379 | 9.8 | Pre-auth path traversal in SSL-VPN |
| CVE-2022-40684 | 9.8 | Authentication bypass in REST API |
| CVE-2023-27997 | 9.2 | Pre-auth heap overflow in SSL-VPN |
| CVE-2024-21762 | 9.6 | Out-of-bounds write in SSL proxy |
aiohttp>=3.9.0, rich>=13.7.0python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Escanear un único objetivo
python3 vamp_forticheck.py https://fortigate.ejemplo.com
# Escanear múltiples objetivos desde fichero
python3 vamp_forticheck.py -f scope.txt
# Limitar concurrencia y generar informe
python3 vamp_forticheck.py -f scope.txt --concurrency 5 --output-json informe.json --output-html informe.html
The tool generates a Rich table in the console with the result of each CVE per target, indicating VULNERABLE, PARCHADO, NO APLICA or ERROR. HTML reports include dark styling with technical details and an indicative PoC template.
Exclusive use on systems you own or with written authorization from the owner.
Unauthorized use may constitute a crime. VampSecure Studios is not responsible for the misuse of this tool.
© VampSecure Studios — VampSecure Labs Security Research Division
License: MIT
| Option | Description |
|---|
target | Target URL or IP |
-f / --file | File with target list (one per line) |
--concurrency | Concurrent requests (default: 10) |
--timeout | Timeout per request in seconds (default: 10) |
--output-json | Save results in JSON |
--output-html | Save report in HTML |
--no-verify-ssl | Disable TLS verification |