Skip to main content

FreePBX CVE-2025-67736

HIGH
SQL Injection (CWE-89)
2025-12-16 security-advisories@github.com
8.6
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain ACP administrator credentials
  2. Delivery
    Submit malicious input to tts module
  3. Exploit
    Trigger SQL injection (CWE-89)
  4. Execution
    Execute code as asterisk user
  5. Persist
    Escalate to root
  6. Impact
    Full host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated session with administrator-level access to the FreePBX Administrator Control Panel (ACP) and the presence/use of the Text-to-Speech (tts) module on a vulnerable install (FreePBX versions prior to 16.0.5 or 17.0.5). The injection point is reached through tts module functionality. Limiting factors: the PR:H administrator prerequisite sharply narrows the attacker population to those already holding admin credentials (insiders, phished/reused credentials, or an attacker who already escalated into ACP); no user interaction is needed (UI:N) and the vector is network-reachable (AV:N) to the admin interface. The described privilege escalation to root is a chained post-exploitation outcome, not a separate precondition.

Impact

This is a genuine but access-gated risk rather than a mass-exploitation threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H, base 8.6) is driven high by full confidentiality/integrity/availability impact and the description's claim of chained elevation from the asterisk user to root - but the single most important mitigating signal is PR:H: exploitation requires an attacker who already holds administrator access to the Administrator Control Panel. That makes this primarily a privilege-escalation / post-compromise RCE vector or an insider/credential-theft concern, not an unauthenticated internet-facing break-in. No EPSS score, KEV listing, or POC was provided in the input, so there is no evidence of active exploitation or public exploit code - the signals are internally consistent (high-impact but high-privilege) and do not conflict. Net: a real priority for environments where ACP admin credentials could be phished, reused, or over-shared, but not a drop-everything internet-wide emergency given the administrator-access prerequisite.

Exploit ScenarioDerived

An attacker who has obtained FreePBX Administrator Control Panel credentials (via phishing, credential reuse, or a lower-privilege foothold) submits crafted input through the Text-to-Speech (tts) module, injecting SQL to read sensitive database contents. They then leverage the injection to execute code as the asterisk OS user and chain known local techniques to escalate to root. No public exploit code was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 6.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

SQL injection in the FreePBX Text-to-Speech (tts) module lets authenticated administrators extract sensitive data from the backend database and, through a chained post-exploitation path, execute code as the asterisk user with potential elevation to root. FreePBX installations running the tts module at versions prior to 16.0.5 or 17.0.5 are affected; exploitation requires a valid administrator session on the Administrator Control Panel (ACP), so the risk is access-gated rather than a mass-exploitation threat. No public exploit code or confirmed active exploitation was identified at time of analysis, and vendor patches are available in 16.0.5 and 17.0.5.

RemediationAI

Vendor-released patch: upgrade the tts module to 16.0.5 or 17.0.5 as applicable, following the FreePBX security advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-632c-49p9-x7cw and the vendor's security fixes page at https://www.freepbx.org/watch-what-we-do-with-security-fixes-%f0%9f%91%80. If immediate upgrade is not possible, restrict Administrator Control Panel access to trusted networks or IPs and enforce strong, unique admin credentials with MFA where available, understanding that these controls do not fix the SQL injection itself and only reduce the attacker population. Disabling or removing the tts module if Text-to-Speech functionality is not required eliminates the vulnerable code path, but it will break TTS-dependent IVR or feature behavior; any such change should be tested and documented. Because exploitation requires an existing admin session, audit ACP accounts for unauthorized or stale administrators and review database and Asterisk logs for anomalous SQL or command activity.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is a CWE-89 SQL injection in the PHP-based tts (Text to Speech) module of FreePBX, an open-source web GUI that manages the Asterisk PBX. The module fails to properly neutralize special elements in SQL commands, allowing an authenticated ACP administrator to inject arbitrary SQL through tts module functionality. Because ACP administrators already possess high privileges, the injection can be used to read sensitive database contents and then chain into local code execution as the asterisk service account, with further privilege escalation to root described as a post-exploitation outcome. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) and our assessed CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) both reflect network reachability but a high-privilege prerequisite, aligning with the CPE data identifying sangoma:freepbx as the affected product family.

Know when Freepbx gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.2 HIGH

Network-reachable admin interface (AV:N/AC:L), but administrator access to ACP is required so PR:H; full C/I/A impact given SQL data extraction and code execution leading to root.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

The FreePBX module tts (Text to Speech) for FreePBX, an open-source web-based graphical user interface (GUI) that manages Asterisk. Versions prior to 16.0.5 and 17.0.5 are vulnerable to SQL injection by authenticated users with administrator access. Authenticated users with administrative access to the Administrator Control Panel (ACP) can leverage this SQL injection vulnerability to extract sensitive information from the database and execute code on the system as the asterisk user with chained elevation to root privileges. Users should upgrade to version 16.0.5 or 17.0.5 to receive a fix.

Executive ViewAI

Why It Matters

Organizations running the FreePBX Text-to-Speech (tts) module for their telephony platform are exposed to a high-severity flaw that allows an attacker holding an administrator session on the Administrator Control Panel to read sensitive data from the underlying database and potentially escalate to full server compromise, including root-level access. Because FreePBX typically underpins an organization's voice communications, a successful compromise could disrupt calling services, expose stored credentials and call records, and provide a foothold deeper into the network. The exposure is gated by the need for valid administrative access rather than being broadly exploitable, so leadership should treat this as a privileged-insider or credential-theft risk requiring prompt remediation and tighter administrative access controls.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
6.4%
Top 6% exploitable
Prevalence
Medium
popular open-source Asterisk PBX GUI, common in SMB/VoIP, not ubiquitous
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 6.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +6
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
CVE-2025-57819 CRITICAL POC
10.0 Aug 28

FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf

CVE-2012-4869 HIGH POC
7.5 Sep 06

The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke

CVE-2014-1903 HIGH POC
7.5 Feb 18

admin/libraries/view.functions.php in FreePBX 2.9 before 2.9.0.14, 2.10 before 2.10.1.15, 2.11 before 2.11.0.23, and 12

CVE-2014-7235 CRITICAL POC
10.0 Oct 07

htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,

CVE-2025-61678 HIGH POC
8.6 Oct 14

Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef

CVE-2025-61675 HIGH POC
8.6 Oct 14

Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username

CVE-2025-66039 CRITICAL POC
9.3 Dec 09

Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ

CVE-2019-19006 CRITICAL POC
9.8 Nov 21

Sangoma FreePBX 115.0.16.26 and below, 14.0.13.11 and below, 13.0.197.13 and below have Incorrect Access Control. Rated

CVE-2023-43336 HIGH POC
8.8 Nov 02

Sangoma Technologies FreePBX before cdr 15.0.18, 16.0.40, 15.0.16, and 16.0.17 was discovered to contain an access contr

CVE-2018-6393 HIGH POC
7.2 Jan 29

FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param

CVE-2012-4870 MEDIUM POC
4.3 Sep 06

Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar

CVE-2019-16967 MEDIUM POC
6.1 Oct 21

An issue was discovered in Manager 13.x before 13.0.2.6 and 15.x before 15.0.6 before FreePBX 14.0.10.3. Rated medium se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy