FreePBX
CVE-2025-59429
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious status-page URL (port 8088)
-
DeliveryLure logged-in admin to click link
-
ExploitReflected script runs in admin browser
-
ExecutionExfiltrate admin session cookie
-
ImpactReplay cookie to hijack FreePBX admin interface
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Asterisk HTTP status page to be network-reachable - exposed by default on FreePBX 16 via any bound IP at port 8088, but bound only to localhost by default on FreePBX 17, so default v17 installs are not remotely exploitable unless the binding is changed. Because this is reflected XSS, exploitation also requires an authenticated FreePBX administrator to actively interact with an attacker-crafted link (CVSS UI:A), making it unsuitable for silent mass automation. The attacker needs no valid FreePBX account (description states unauthenticated attackers), though this conflicts with the vector's PR:L. Limiting factors: a non-exposed or localhost-only status page (v17 default), network segmentation of port 8088, and the need to socially engineer a logged-in admin. |
| Impact | This is a genuine but conditional priority rather than a drop-everything emergency, and the signals must be read together because they conflict. The CVSS 4.0 base score is 8.5 (High), driven by VC:H/VI:H/VA:H, which reflects the downstream consequence of admin-session hijack rather than the direct, limited impact of the reflected XSS itself. Against that, EPSS is only 0.19% (8th percentile), there is no CISA KEV listing, and no public exploit code is referenced, so active or widespread exploitation is not currently indicated. A key internal inconsistency: the CVSS vector lists PR:L (privileges required), yet the description explicitly states the flaw can be exploited by unauthenticated attackers - these disagree, the PR:L is likely an artifact, and real-world exploitation appears to need no attacker authentication, only a logged-in admin victim (UI:A). Deployment context sharply changes risk: FreePBX 16 exposes the Asterisk HTTP status page by default on any bound IP at port 8088 (broadly reachable), whereas FreePBX 17 binds only to localhost by default (far less exposed). Net: treat internet-exposed FreePBX 16 instances with port 8088 reachable as high priority, while FreePBX 17 default installs are substantially lower risk. Overall this is a real, patch-worthy issue whose practical severity hinges on exposure of the status page and on luring an authenticated administrator - not a high-CVSS-but-meaningless finding, but also not yet evidenced as mass-exploited. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL targeting the Asterisk HTTP status page (port 8088) of an internet-reachable FreePBX 16 server and sends it to a logged-in administrator via phishing. When the admin opens the link, the reflected script executes in their browser and exfiltrates their FreePBX admin session cookie, which the attacker replays to take over the admin interface. No public exploit code is identified at time of analysis, and success requires the administrator to interact with the attacker-supplied link (CVSS UI:A). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Reflected cross-site scripting in FreePBX's Asterisk HTTP Status page can let remote attackers steal an authenticated administrator's session cookies and hijack the FreePBX admin UI, but only if the status page is network-reachable and a logged-in admin actively opens a crafted link. FreePBX 16 before 16.0.68.39 is exposed by default on any bound IP at port 8088, while FreePBX 17 before 17.0.18.38 binds the page to localhost by default, so default v17 installs are not remotely exploitable unless that binding is changed. This is a genuine but conditional priority rather than a drop-everything emergency; no public exploit identified at time of analysis, and EPSS is low at 0.19% (8th percentile).
RemediationAI
Vendor-released patch: upgrade FreePBX 16 to 16.0.68.39 or later and FreePBX 17 to 17.0.18.38 or later; see the GitHub advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-c8g7-475j-fwcc. If immediate patching is not possible, the primary compensating control is to remove network exposure of the Asterisk HTTP Status page: on FreePBX 16, firewall or ACL port 8088 so only trusted management networks can reach it, understanding that this may break legitimate remote status monitoring or admin access; on FreePBX 17, keep the default localhost-only binding and do not change it to listen externally. Network-isolate or segment management interfaces, and train administrators to avoid opening untrusted links while logged in, because the attack requires an authenticated admin to interact with the crafted URL. These workarounds reduce the attack surface but do not fix the underlying encoding flaw, so patching remains the durable remediation.
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
FreePBX is a Sangoma-maintained open source GUI for managing Asterisk. The affected component is the Asterisk HTTP Status page exposed through FreePBX, and the flaw is CWE-79 reflected cross-site scripting: untrusted input from a crafted request is echoed into the response without proper output encoding, so JavaScript executes in the browser of an authenticated admin who visits the link. CPE data identifies the affected product family as cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*; the advisory is GHSA-c8g7-475j-fwcc. Exploitation is conditional: v16 exposes the status page by default on any bound IP at port 8088, whereas v17 binds to localhost by default, so remote reachability must be confirmed. The published CVSS 4.0 vector (8.5, PR:L/UI:A, high C/I/A) and the independent assessment (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) differ notably, reflecting conflicting authentication data in the description/vectors and the need for admin interaction; the independent assessment should be treated as authoritative for this analysis.
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:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Reflected XSS: remote unauthenticated attacker (PR:N per description), requires victim admin interaction (UI:R), executes in the victim browser context (S:C) with limited direct confidentiality and integrity impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
FreePBX is an open source GUI for managing Asterisk. In versions prior to 16.0.68.39 for FreePBX 16 and versions prior to 17.0.18.38 for FreePBX 17, a reflected cross-site scripting vulnerability is present on the Asterisk HTTP Status page. The Asterisk HTTP status page is exposed by FreePBX and is available by default on version 16 via any bound IP address at port 8088. By default on version 17, the binding is only to localhost IP, making it significantly less vulnerable. The vulnerability can be exploited by unauthenticated attackers to obtain cookies from logged-in users, allowing them to hijack a session of an administrative user. The theft of admin session cookies allows attackers to gain control over the FreePBX admin interface, enabling them to access sensitive data, modify system configurations, create backdoor accounts, and cause service disruption. This issue has been patched in version 16.0.68.39 for FreePBX 16 and version 17.0.18.38 for FreePBX 17.
Executive ViewAI
FreePBX 16 (and FreePBX 17 if the Asterisk HTTP Status page is reconfigured to be network-reachable) contains a high-severity web vulnerability that could let an attacker steal a logged-in administrator's session and take control of the FreePBX admin UI. Exploitation is conditional: the status page must be reachable and an administrator must open a crafted link, and no public exploit identified at time of analysis, so this is a focused risk-management priority rather than an emergency. Leadership should care because a compromised admin session could lead to unauthorized changes across the organization's telephony environment.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the Asterisk HTTP Status page (port 8088) to trusted management networks or localhost, disabling the status page if not required, maintaining localhost-only binding on FreePBX 17, implementing firewall or WAF rules to block reflected XSS payloads, and reinforcing administrator phishing awareness.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
GitHub
Exploit-DB