Security Resilience

CVE-2025-57819

SQLi in Sangoma Freepbx 15.0 – 15.0.66

CISA KEVActive ExploitationEUVD ExploitedPublic PoCSQLiAuth Bypass
Published
28 August 2025
Modified
26 September 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.96 99.9th percentile
Risk Priority 75 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

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 Email Collection (T1114); ranked in the top 0.1% 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

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1114 Email Collection Collection
Adversaries may target user email to collect sensitive information.
T1133 External Remote Services Persistence
Adversaries may leverage external-facing remote services to initially access and/or persist within a network.
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.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-27198Shared CWE-288both on KEV
CVE-2025-4427Shared CWE-288both on KEV
CVE-2025-2746Shared CWE-288both on KEV
CVE-2025-2747Shared CWE-288both on KEV
CVE-2025-24472Shared CWE-288both on KEV
CVE-2024-1709Shared CWE-288both on KEV
CVE-2025-34026Shared CWE-288both on KEV
CVE-2026-23760Shared CWE-288both on KEV
CVE-2024-55591Shared CWE-288both on KEV
CVE-2026-24858Shared CWE-288both 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)

Our mappings, made for this CVE.

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-03 full match
blocks

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

PR.AA-05 mostly match
blocks

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

PR.IR-01 mostly match
blocks

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

PR.PS-06 mostly match
blocks

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
blocks

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

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

blocks

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

prevents

A.6.3's education and training for technical teams reduces the odds that developers write unneutralised SQL, but as a fallible human practice covering only part of the developer population it keeps a minority of injection defects from ever arising, in line with the owner's partial grade for training against developer-introduced weaknesses such as CWE-598 and CWE-79.

blocks

Privileged access rights control reduces risk of bypass through elevated or alternate paths.

blocks

A.8.20's network-level controls (firewalls per (i), network authentication per (h), connection filtering per (j)) can block exploitation of network-accessible alternate paths — e.g., a directly reachable web management URL or login screen — by restricting who reaches them, but cannot address local alternate paths (keyboard sequences, hardware registers), application-level alternate channels within the same service (API vs GUI), or design-level shadow resources, leaving a nameable remainder.

blocks

A.8.21's authentication requirements (item b), authorization procedures (item c), and network connection controls (item d) can be implemented to require authentication on all access paths to a network service, which blocks exploitation of an unauthenticated alternate path; however, the underlying architectural flaw in the product remains, and the clause cannot redesign third-party or COTS products where the alternate path is hardcoded into the design, leaving a nameable remainder.

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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 rules)
  • V-248598 There must be no ".shosts" files on the OL 8 operating system. blocks CWE-288
  • V-248827 OL 8 must not have the rsh-server package installed. blocks CWE-288
Oracle Linux 9 (2 rules)
  • V-271757 OL 9 file systems must not contain shosts.equiv files. blocks CWE-288
  • V-271758 OL 9 file systems must not contain .shosts files. blocks CWE-288
RHEL 7 (2 rules, 1 more partial)
  • 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. blocks CWE-288
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. blocks CWE-288
  • V-204424 The Red Hat Enterprise Linux operating system must not allow accounts configured with blank or null passwords. blocks CWE-288

References