CVE-2025-57819
SQLi in Sangoma Freepbx 15.0 – 15.0.66
Raw vector
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/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:XCVSS 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
- 🇪🇺 ENISA EUVD: EUVD-2025-26123
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
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 7 hardening rules · 3 OS baselines
V6.4.3V6.6.1V12.1.3V6.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.
Requiring authentication on every channel and path directly eliminates alternate-path bypasses.
Enforcing authorizations and least privilege across all access vectors prevents unauthenticated alternate paths.
Protecting networks and environments from unauthorized logical access blocks bypass via undocumented channels.
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.
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.
The same secure-coding and static-analysis activities surface missing neutralization of SQL metacharacters before the system is accepted.
Access rights provisioning and review prevent bypass via unmonitored or alternate channels.
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.
Privileged access rights control reduces risk of bypass through elevated or alternate paths.
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.
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