Exploit database

Vulnerability

CVE-2025-57819

FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCE

Vulnerability details

Score
10.0
Severity
critical

CVSS 4.0 · GitHub_M

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Description

FreePBX is an open-source web-based graphical user interface. FreePBX 15, 16, and 17 endpoints are vulnerable due to insufficiently sanitized user-supplied data allowing unauthenticated access to FreePBX Administrator leading to arbitrary database manipulation and remote code execution. This issue has been patched in endpoint versions 15.0.66, 16.0.89, and 17.0.3.

CVE Program

Exploit source choices

16 sources
FreePBX ajax.php unauthenticated SQLi to RCE
MSF-unix--http--freepbx_unauth_sqli_to_rceMetasploitLinux / remote

This module exploits an unauthenticated SQL injection flaw in FreePBX prior to versions 15.0.66, 16.0.89, and 17.0.3. The vulnerability lies in the /admin/ajax.php endpoint, which is accessible without authentication. Additionally, the database user created by FreePBX can schedule cronjobs, allowing remote code execution on the target system.

2025-08-28freepbx_unauth_sqli_to_rce.rb
0xehab/freepbx-cve-2025-57819-rce
GH-fa0d496f5e011a18aef296f58cf39d70GitHubUnofficial GitHub source

0xehab/freepbx-cve-2025-57819-rce source repository

2026-06-062 files · 19 stars
cryptogennepal/cve-kev-rss
GH-a83b21c33b96222159736342084ac212GitHubUnofficial GitHub source

CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild and CryptoGen Nepal aims to simplify this for the general public in a more understandable way as well as in a format that can be easily integrated into their threat intelligence systems.

2025-02-169 files · 13 stars
blueisbeautiful/cve-2025-57819
GH-06d356776daf072dafbcbff890b951a2GitHubUnofficial GitHub source

FreePBX SQL Injection Exploit

2025-09-013 files · 7 stars
k3ystr0k3r/cve-2025-57819
GH-cfd9191cd5140c15228f62a547c14fe3GitHubUnofficial GitHub source

CVE-2025-57819 - FreePBX Unauthenticated Remote Code Execution (RCE)

2026-07-022 files · 3 stars
ozcanpng/cve-2025-57819-freepbx-rce2root
GH-9d4d4fae5ccd6a1c589e44a901e8cac4GitHubUnofficial GitHub source

Full-chain CVE-2025-57819 PoC for FreePBX 15, 16, and 17: unauthenticated SQLi to RCE and root takeover.

2026-06-183 files · 3 stars
devgreick/devgreick
GH-ed9ca19c1669a2ef6678beaff45ee0b3GitHubUnofficial GitHub source

devgreick/devgreick source repository

2024-10-298 files · 2 stars
jeanback1/cve-2025-57819-exploit
GH-855d0f736ab740c61be385430cfca193GitHubUnofficial GitHub source

FreePBX Pre-Auth SQLi to RCE (CVE-2025-57819) — All-in-One Exploit

2026-06-072 files · 2 stars
orange0mint/cve-2025-57819_freepbx
GH-0341aa7e179f2a429a14b41c4fd6b4b3GitHubUnofficial GitHub source

This repository includes two PoC scripts for CVE-2025-57819 in FreePBX: one to create a new admin user (poc_admin.py), and another to extract credentials using sqlmap (poc_auto_get_username_pass.py). For educational and authorized use only.

2025-09-183 files · 2 stars
0xyngtg/freepbx-cve-2025-57819-cve-2025-61678
GH-2e1faae3d036e7d0b7c562bece6337a4GitHubUnofficial GitHub source

Chains CVE-2025-57819 (stacked query SQL injection) and CVE-2025-61678 (authenticated file upload in FreePBX Endpoint Manager) to achieve Remote Code Execution (RCE). For educational use only.

2026-06-122 files · 1 stars
hexbytee/freepbx-sqli-rce
GH-a8f22a12bb5a0707dba5babcb29e883dGitHubUnofficial GitHub source

CVE-2025-57819 FreePBX SQLi RCE PoC

2026-06-243 files · 1 stars
imbios/lab-cve-2025-57819
GH-ee8efd13a51860e88508c76b7fc73619GitHubUnofficial GitHub source

FreePBX CVE-2025-57819 lab (Docker) + Nuclei POC for unauth SQLi (time-based).

2025-09-046 files · 1 stars
xv4nd3rx/cve-2025-57819_freepbx-poc
GH-0438dc9dcedff1dd6b8757c1c765ae05GitHubUnofficial GitHub source

Safe, read-only SQL Injection checker for FreePBX (CVE-2025-57819), using error/boolean/time-based techniques with per-parameter verdicts and JSON reporting.

2025-09-144 files · 1 stars
yuvrajshad/freepbx-cve-2025-57819
GH-33c1b242a50eb46b638d0b3ba0e44246GitHubUnofficial GitHub source

Unauthenticated SQL Injection to Remote Code Execution in FreePBX — CVE-2025-57819

2026-06-082 files · 1 stars