Skip to main content

FreePBX CVE-2025-59429

HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-10-14 security-advisories@github.com
8.5
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious status-page URL (port 8088)
  2. Delivery
    Lure logged-in admin to click link
  3. Exploit
    Reflected script runs in admin browser
  4. Execution
    Exfiltrate admin session cookie
  5. Impact
    Replay 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).

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

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

Alert me

AnalysisAIv1 – 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

Vendor (github) PRIMARY 8.5 HIGH
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
vuln.today AI 6.1 MEDIUM

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
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

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular open-source PBX GUI, common in SMB telephony but not ubiquitous
Data Quality
4 sources
Confidence: Medium

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 0.2%
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
Medium

Priority Score

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

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

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