Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-tier FreePBX admin credentials
-
DeliveryAuthenticate to Administration Control Panel
-
ExploitSend crafted POST to CDR Reports with malicious order/sort
-
ExecutionTrigger SQL injection in CDR query
-
PersistExfiltrate asteriskcdrdb and ampuser hashes
-
ImpactEscalate to full admin or pivot to SIP infrastructure
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 | Exploitation requires an authenticated session on the FreePBX Administration Control Panel with the CDR section permission enabled in User Management; full administrator privileges are explicitly not required per the advisory. The vulnerable code path is the CDR Reports module page, triggered by attacker-controlled values in the order and sort POST parameters, so network reachability of the FreePBX admin web interface (default HTTP/HTTPS on the management VLAN, often exposed to the internet in SMB/MSP deployments) is also required. Limiting factors that reduce realistic risk: the PR:H authentication requirement, the need for the target FreePBX instance to be running an unpatched 16.x (<16.0.50) or 17.x (<17.0.11) build of the security-reporting module, and the need for the compromised account to have been granted CDR access rather than being scoped to other sections such as Extensions or Trunks. |
| Impact | Signals are mixed and point to a meaningful but not critical priority. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N yields 8.5 because exploitation is network-reachable with low complexity and high confidentiality/integrity impact, but the PR:H requirement (an authenticated FreePBX admin panel account with CDR access) substantially narrows the attacker population - typically internal staff, MSP technicians, or attackers who have already pivoted via credential theft or a separate auth bypass. No EPSS score, KEV listing, or public POC was provided in the intelligence, so this is no public exploit identified at time of analysis rather than confirmed actively exploited. The note worth flagging: FreePBX admin panels are frequently exposed to the internet on default ports and have a history of credential-stuffing and chained authentication-bypass exploitation, so PR:H should not be treated as fully mitigating in real-world deployments - verify exposure of the admin UI before deprioritizing. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted a low-tier FreePBX admin account with CDR section access - for example a help-desk technician account, a stolen MSP credential, or a credential harvested via phishing - logs into the Administration Control Panel and submits a crafted POST request to the CDR Reports page with a malicious payload in the order or sort parameter. The injected SQL is executed against the asteriskcdrdb (and via the same database user, often other FreePBX databases), allowing the attacker to exfiltrate call detail records, voicemail metadata, SIP credentials stored in the asterisk database, and the ampuser password hashes used for the admin panel itself. No public exploit is identified at time of analysis, but the injection sink is straightforward and a working PoC would be trivial to develop from the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
SQL injection in FreePBX CDR Reports module prior to versions 16.0.50 and 17.0.11 allows authenticated users with CDR section access to execute arbitrary SQL queries via the order and sort POST parameters. The flaw requires a valid Administration Control Panel account but not full administrator privileges, and at the time of analysis there is no public exploit identified and the issue is not listed in CISA KEV. The CVSS 4.0 score of 8.5 reflects high confidentiality and integrity impact against the call detail records database.
RemediationAI
Vendor-released patch: upgrade to FreePBX security-reporting module version 16.0.50 (16.x branch) or 17.0.11 (17.x branch) as documented in GHSA-p9fq-fmpw-2h9x at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p9fq-fmpw-2h9x, applied via the FreePBX Module Admin updater. Until the upgrade is deployed, compensating controls include restricting which administrative roles are granted CDR section access in the User Management module (removes the privilege required for exploitation but blocks legitimate CDR reporting for those users), placing the FreePBX Administration Control Panel behind a VPN or IP allow-list at the web server / firewall layer (reduces attacker reachability of the admin UI but breaks remote admin from arbitrary networks), and reviewing CDR module web access logs for anomalous order or sort POST values containing SQL metacharacters such as UNION, SLEEP, or comment sequences. Disabling the CDR Reports module entirely is a stronger workaround but eliminates call-record reporting for operators who rely on it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreePBX is a widely deployed open-source web-based GUI that manages the Asterisk PBX telephony platform, and the affected component is its security-reporting / CDR Reports module which surfaces Call Detail Records via a PHP web interface backed by MySQL/MariaDB. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the order and sort POST parameters used to control result ordering in the CDR report page are concatenated into SQL queries without parameterization or strict allow-list validation, which is the classic anti-pattern for ORDER BY clauses where prepared statement placeholders cannot bind identifiers. The CPE cpe:2.3:a:freepbx:security-reporting confirms the vulnerable component is the security-reporting module rather than the FreePBX core framework.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
FreePBX is an open source IP PBX. Prior to 16.0.50 and 17.0.11, the CDR Reports module page allows SQL injection through the order and sort POST parameters. Authentication with a FreePBX Administration Control Panel account that has CDR section access is required. Full administrator privileges are not needed. This vulnerability is fixed in 16.0.50 and 17.0.11.
Executive ViewAI
A SQL injection vulnerability in FreePBX CDR Reports module allows users with CDR section access to execute arbitrary SQL queries against call detail records, potentially exposing sensitive customer communications data and call history. Organizations running versions 16.0.x through 17.0.x require immediate access controls to restrict the vulnerability surface.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict CDR section access to administrators only; (2) Implement WAF rules blocking SQL patterns in order/sort parameters; (3) Enable comprehensive audit logging for CDR module; (4) Establish monitoring for anomalous CDR database queries; (5) Consider disabling CDR Reports if not operationally essential.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke
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
htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,
Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef
Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username
Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ
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
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
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param
Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar
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
EUVD-2026-33298
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB