Cyber Resilience

CVE-2025-57819

SQLi in Sangoma Freepbx 15.0 – 15.0.66

CISA KEVActive ExploitationEUVD ExploitedPublic PoCSQLiAuth Bypass
Published
28 August 2025
Modified
17 June 2026
KEV Added
29 August 2025
Patch / advisory
CVSS Score v4 10.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.88 99.8th percentile
Risk Priority 75 floored blend · peak EPSS

Summary

CVE-2025-57819 is a critical-severity SQL Injection (CWE-89) vulnerability in Sangoma Freepbx. Its CVSS base score is 10.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 0.2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-25 (Reference Monitor) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

FreePBX is an open-source web-based graphical user interface for managing Asterisk-based telephony systems. Versions 15, 16, and 17 of its endpoints contain a vulnerability stemming from insufficient sanitization of user-supplied data, which permits unauthenticated access to the FreePBX Administrator interface. The flaw maps to CWE-89 and CWE-288 and carries a CVSS 4.0 score of 10.0, enabling arbitrary database manipulation and remote code execution. Patches are available in endpoint releases 15.0.66, 16.0.89, and 17.0.3.

An unauthenticated attacker with network access can exploit the issue without any privileges or user interaction, directly reaching the administrative interface to alter database contents and execute arbitrary code on the underlying system. The attack vector is rated as network-reachable with low complexity, resulting in total compromise of confidentiality, integrity, and availability for both the application and its host.

Official advisories from the FreePBX project and the associated GitHub security advisory recommend immediate upgrade to the patched endpoint versions and advise restricting administrator access until updates can be applied. The vulnerability appears in CISA’s Known Exploited Vulnerabilities catalog, confirming observed in-the-wild exploitation. The associated EPSS score has reached a peak of 0.8128 with a current value of 0.7695.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

been patched in endpoint versions 15.0.66, 16.0.89, and 17.0.3.

CWE(s)
KEV Date Added
29 August 2025

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1542.002 Component Firmware Stealth
Adversaries may modify component firmware to persist on systems.
T1556 Modify Authentication Process Defense Impairment
Adversaries may modify authentication mechanisms and processes to access user credentials or enable otherwise unwarranted access to accounts.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-39309Shared CWE-288, CWE-89
CVE-2016-2386Shared CWE-89both on KEV
CVE-2024-6670Shared CWE-89both on KEV
CVE-2021-20028Shared CWE-89both on KEV
CVE-2024-29824Shared CWE-89both on KEV
CVE-2020-12271Shared CWE-89both on KEV
CVE-2020-29574Shared CWE-89both on KEV
CVE-2021-44026Shared CWE-89both on KEV
CVE-2024-9379Shared CWE-89both on KEV
CVE-2024-9465Shared CWE-89both on KEV

Affected Assets

sangoma
freepbx
15.0 — 15.0.66 · 16.0 — 16.0.89 · 17.0 — 17.0.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 7 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3
  • V6.6.1
  • V12.1.3
  • V6.2.5

Mitigating Controls (NIST 800-53 r5) AI

Requires a tamperproof, always-invoked reference monitor that structurally blocks bypass via any alternate path.

Enforces authorization checks on every logical access path, eliminating unauthenticated alternate channels.

Mandates unique identification and authentication for all organizational users, covering the primary authentication requirement.

Developer testing and evaluation can discover SQLi flaws before deployment but does not stop their introduction.

Input validation directly stops untrusted data from reaching SQL query construction without neutralization.

Secure engineering principles require parameterized queries and input sanitization that structurally eliminate SQLi.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-03 full match
prevents

Requiring authentication on every channel and path directly eliminates alternate-path bypasses.

PR.AA-05 mostly match
prevents

Enforcing authorizations and least privilege across all access vectors prevents unauthenticated alternate paths.

PR.IR-01 mostly match
prevents

Protecting networks and environments from unauthorized logical access blocks bypass via undocumented channels.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly target injection flaws during coding and review so largely prevent CWE-89 introduction, yet the single broad outcome leaves residual risk from incomplete neutralization techniques or missed edge cases.

PR.AT-02 partial match
prevents

Training raises developer awareness of SQLi risks and can reduce introduction likelihood (partial) but removes none of the actual coding flaw's risk by itself since technical neutralization is still required.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

The same secure-coding and static-analysis activities surface missing neutralization of SQL metacharacters before the system is accepted.

degrades

Secure authentication control directly mitigates bypass by requiring strong, consistent authentication on all paths.

prevents

Access control policy directly addresses alternate authentication paths by requiring all channels to enforce authentication.

degrades

Authentication information management ensures credentials and mechanisms are consistently applied across all access paths.

prevents

Access rights provisioning and review prevent bypass via unmonitored or alternate channels.

prevents

Early warnings and shared best-practice information help organizations apply the latest remediation techniques against SQL-injection vulnerabilities.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (2 rules)
  • V-248598 There must be no ".shosts" files on the OL 8 operating system. prevents CWE-288
  • V-248827 OL 8 must not have the rsh-server package installed. prevents CWE-288
Oracle Linux 9 (2 rules)
  • V-271757 OL 9 file systems must not contain shosts.equiv files. prevents CWE-288
  • V-271758 OL 9 file systems must not contain .shosts files. prevents CWE-288
RHEL 7 (3 rules)
  • V-204440 Red Hat Enterprise Linux operating systems version 7.2 or newer using Unified Extensible Firmware Interface (UEFI) must require authentication upon booting into single-user and maintenance modes. prevents CWE-288
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. prevents CWE-288
  • V-204424 The Red Hat Enterprise Linux operating system must not allow accounts configured with blank or null passwords. prevents CWE-288

References