Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-25257 β€” Python-based exploit tool for CVE-2025-25257 in FortiWeb. Automates SQL injection detection, webshell upload, and remote command execution on vulnerable targets. | Kitploit
Tools/GitHubGitHub/imbas007/cve-2025-25257
Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPenetration TestingCommand and Control
GitHubimbas007/cve-2025-25257

CVE-2025-25257

Python-based exploit tool for CVE-2025-25257 in FortiWeb. Automates SQL injection detection, webshell upload, and remote command execution on vulnerable targets.

View Repository
1651 year agoNot yet reviewed
Share

CVE-2025-25257 - FortiWeb Vulnerability Checker & Exploit

A Python-based tool for checking and exploiting CVE-2025-25257 vulnerability in FortiWeb devices. This vulnerability allows SQL injection and remote code execution through a crafted Authorization header.

πŸ“‹ Description

CVE-2025-25257 is a critical vulnerability in FortiWeb devices that allows:

  • SQL injection via the Authorization header
  • Remote code execution through webshell upload
  • Unauthorized access to vulnerable systems

πŸš€ Features

  • Automated vulnerability detection for single targets or bulk scanning
  • SQL injection exploitation to upload webshells
  • Command execution via uploaded webshell
  • Bulk target processing from file input
  • Results logging with timestamps
  • Comprehensive error handling

πŸ“¦ Requirements

pip install requests urllib3

πŸ› οΈ Installation

  1. Clone the repository:
git clone https://github.com/yourusername/CVE-2025-25257.git
cd CVE-2025-25257
  1. Install dependencies:
pip install -r requirements.txt

πŸ“– Usage

Vulnerability Checker (vuln_check.py)

Check a single target:

python3 vuln_check.py -t https://target.com

Check multiple targets from a file:

python3 vuln_check.py -l target.txt

Command Execution (exp.py)

Execute commands on a vulnerable target:

python3 exp.py -t https://target.com -c "id"

πŸ“ Files

  • vuln_check.py - Main vulnerability checker and exploit
  • exp.py - Command execution tool for vulnerable targets
  • target.txt - Sample list of targets (replace with your own)
  • vuln.txt - Output file with vulnerable targets (generated after scan)

πŸ” How It Works

  1. SQL Injection: Exploits the vulnerable API endpoint /api/fabric/device/status
  2. Webshell Upload: Uses SQL injection to write a webshell to /cgi-bin/x.cgi
  3. Command Execution: Executes commands via the uploaded webshell
  4. Verification: Tests command execution to confirm successful exploitation

πŸ“Š Output

The tool generates a vuln.txt file containing:

  • Timestamp of each scan
  • Vulnerable target URLs
  • Command execution results
  • Scan statistics

Example output:

# CVE-2025-25257 Vulnerable Targets - 2025-01-27 10:30:15
# Format: [timestamp] target - command_output

[2025-01-27 10:30:15] https://target.com - uid=0(root) gid=0(root) groups=0(root)

credit:0xbigshaq

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    930
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    554
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    349
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools β†’