# CVE-2025-57819: FreePBX - SQLi

> Live exploitation tracking for CVE-2025-57819 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2025-57819

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 10.0
- **Public exploit available:** Yes
- **Affected products:** Sangoma FreePBX
- **Weaknesses:** CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')); CWE-288 (Authentication Bypass Using an Alternate Path or Channel)

## 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.

## CrowdSec analysis

[CVE-2025-57819](https://euvd.enisa.europa.eu/vulnerability/CVE-2025-57819) is a critical vulnerability in FreePBX versions 15, 16, and 17 that allows unauthenticated attackers to access the FreePBX Administrator interface due to improper sanitization of user input. Exploiting this flaw can lead to arbitrary database manipulation and remote code execution, making it possible for attackers to fully compromise affected systems.

CrowdSec has been tracking this vulnerability and its exploits since 19th of September 2025.

CrowdSec network data shows that most actors exploiting CVE-2025-57819 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature.
CrowdSec data also reveals a clear uptick in attacks involving CVE-2025-57819 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.

Attackers exploit FreePBX by sending crafted requests to `/admin/ajax.php` with malicious SQL code in the `brand` parameter, enabling unauthenticated remote code execution and manipulation of backend cron jobs. Subsequent requests may target dynamically created PHP files in the web root to execute arbitrary commands.

## Timeline

- 2025-08-28: CVE Published. CVE-2025-57819 is published to NVD.
- 2025-08-29: CISA KEV. CVE-2025-57819 is added to the Known Exploited Vulnerabilities catalog by CISA.
- 2025-09-19: Rule Released. CrowdSec releases a rule to detect CVE-2025-57819 exploitation attempts against the CrowdSec Network.
- 2025-09-19: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2025-57819 for the first time.
- 2025-09-19: CISA Remediation Deadline. Expiration of the CISA remediation deadline as described in [BOD 22-01](https://www.cisa.gov/news-events/directives/bod-22-01-reducing-significant-risk-known-exploited-vulnerabilities).

## References

- https://github.com/watchtowrlabs/watchTowr-vs-FreePBX-CVE-2025-57819
- https://github.com/FreePBX/security-reporting/security/advisories/GHSA-m42g-xg4c-5f3h
- https://community.freepbx.org/t/security-advisory-please-lock-down-your-administrator-access/107203
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-57819.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2025-57819) follows observed exploitation activity for CVE-2025-57819. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
