Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2025-57819 PoC — FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCE

Source
Associated Vulnerability
Title:FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCE (CVE-2025-57819)
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.
Description
Safe, read-only SQL Injection checker for FreePBX (CVE-2025-57819), using error/boolean/time-based techniques with per-parameter verdicts and JSON reporting.
Readme
# FreePBX SQL Injection Checker

![Status](https://img.shields.io/badge/status-read--only-blue)
![Target](https://img.shields.io/badge/target-FreePBX-orange)
![CVE](https://img.shields.io/badge/CVE-2025--57819-critical)
![Python](https://img.shields.io/badge/python-3.8%2B-informational)
![License](https://img.shields.io/badge/license-MIT-green)

> 🔍 **Safe, read-only SQLi detector** for FreePBX’s `/admin/ajax.php` focused on `template`, `model`, and `brand` parameters.  
> 🛡️ Uses **error-based**, **boolean-based**, and **time-based** techniques to flag potential injection **without modifying the database**.  
> ✍️ Per-parameter verdicts + clean **JSON report** for CI, alerting, or incident response.

---

## 🔗 About CVE-2025-57819

- **NVD:** [CVE-2025-57819](https://nvd.nist.gov/vuln/detail/CVE-2025-57819)
- **CVE Record:** [CVE-2025-57819](https://www.cve.org/CVERecord?id=CVE-2025-57819)
- **FreePBX Security Advisory:** [GHSA-m42g-xg4c-5f3h](https://github.com/FreePBX/security-reporting/security/advisories/GHSA-m42g-xg4c-5f3h)

---

## ✨ Highlights

- 🧪 **Three techniques**: error, boolean, time (SLEEP)  
- 🧷 **Read-only by design**: no `INSERT/DELETE/UPDATE`  
- 🧭 **Per-parameter results**: `template`, `model`, `brand`  
- ⏱️ **Baseline latency & deltas** for reliable timing checks  
- 🧰 **Proxy-friendly** (Burp/ZAP) & **CI-ready** output  
- 🧾 **JSON** summary for automation & dashboards

---

## 🔒 Safety & Ethics

- ✅ Intended for **your own systems** or systems you’re **authorized** to test  
- ✅ **No data writes**; diagnostics only  
- ⚠️ Check **local law** and **organizational policy** before use

---

## 🚀 Quick Start

```bash
python3 freepbx_sqli_checker.py -H https://your-freepbx.example
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →