Skip to main content

FreePBX Endpoint Manager CVE-2025-61678

HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-10-14 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
    Authenticate to FreePBX admin GUI
  2. Delivery
    Craft Endpoint Manager upload request
  3. Exploit
    Abuse fwbrand to control upload path
  4. Execution
    Write PHP webshell to web root
  5. Persist
    Request webshell for code execution
  6. Impact
    Execute commands on PBX host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, 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 to the FreePBX web administration interface with access to the Endpoint Manager module and a known/valid username; the core technique abuses the 'fwbrand' parameter in the module's firmware/file-upload function to override the destination file path, allowing an arbitrary file (e.g. a PHP webshell) to be written to an attacker-chosen, web-accessible location. The primary limiting factor is the authentication requirement - this is not an unauthenticated flaw - so real-world risk concentrates on deployments with internet-exposed admin GUIs, weak/default/reused credentials, or broadly granted module permissions. Affected builds are FreePBX 16 before 16.0.92 and FreePBX 17 before 17.0.6; patched versions remediate the path-traversal behavior.

Impact

This is a genuine priority, not a paper-high score. The signals align strongly: CVSS 4.0 base 8.6 (High) with AV:N/AC:L/UI:N indicates trivial network-reachable exploitation requiring no victim interaction, and an exceptionally high EPSS of 43.68% (99th percentile) marks it as among the most likely-to-be-exploited CVEs, consistent with the publicly available exploit code. The one mitigating signal is PR:H in the vendor vector (authentication with a known username required), which gates exploitation behind valid credentials - meaning this is most dangerous where credentials are weak, reused, default, or the admin GUI is internet-exposed. There is a minor internal tension worth verifying: the description characterizes the actor as 'authenticated users' and notes only that a 'known username' is required, which reads closer to low-privilege (PR:L) than the vendor's PR:H; teams should confirm the exact privilege level needed to reach the Endpoint Manager module. It is NOT currently on CISA KEV, so despite the high EPSS and public POC there is no confirmed in-the-wild exploitation at time of analysis - the high EPSS reflects predicted/likely exploitation given a public exploit, which should not be conflated with active attacks.

Exploit ScenarioDerived

An attacker who holds valid FreePBX admin-GUI credentials (or obtains them via weak/default/reused passwords on an exposed interface) sends a crafted file-upload request to the Endpoint Manager module, abusing the fwbrand parameter to redirect the upload path and plant a PHP webshell in a web-accessible directory. They then browse to the uploaded webshell to execute arbitrary commands as the web server user, achieving remote code execution. Public exploit code for this flaw is already available, lowering the skill barrier considerably.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
No patch listed yet 43.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 before 17.0.6) lets a logged-in admin-interface user abuse the fwbrand parameter to override the upload destination path, writing attacker-controlled files such as a PHP webshell into web-accessible locations and thereby achieving remote code execution. Exploitation requires an authenticated session with access to the Endpoint Manager module and a known/valid username, so real-world risk is concentrated on deployments with internet-exposed admin GUIs, weak or reused credentials, or over-broad module permissions. Publicly available exploit code exists and EPSS is elevated at 43.68% (99th percentile), but the flaw is not confirmed actively exploited (no CISA KEV listing); vendor patches are available in 16.0.92 and 17.0.6.

RemediationAI

Upgrade the Endpoint Manager module to the fixed releases: version 16.0.92 on FreePBX 16 and version 17.0.6 on FreePBX 17 (see the vendor advisory GHSA-7p8x-8m3m-58j9). Because exploitation requires an authenticated session with access to the Endpoint Manager module, the most effective compensating controls until patching is complete are to restrict and harden administrative access: do not expose the FreePBX admin GUI to the internet (place it behind a VPN, management VLAN, or IP allowlist), enforce strong unique credentials and MFA for all admin accounts, and audit/reduce which users have access to the Endpoint Manager module - the trade-off is reduced remote-administration convenience and the need to maintain an allowlist/VPN. Monitor and alert on unexpected file writes under web-served directories and on new PHP files appearing in module upload paths, and check for webshell indicators. Rotating admin credentials is advisable if compromise is suspected. There is no unauthenticated path to exploit this, so blocking external access to the admin interface meaningfully lowers risk even before the upgrade is applied.

Affected ProductsAI

FreePBX 16 running the Endpoint Manager module before version 16.0.92, and FreePBX 17 running the Endpoint Manager module before version 17.0.6. The flaw resides in the Endpoint Manager module (the fwbrand file-upload/path-handling code) rather than in the FreePBX core itself, so any deployment whose module version falls below the fixed releases is affected. Patched releases are 16.0.92 (FreePBX 16) and 17.0.6 (FreePBX 17). The vendor advisory is the GitHub security advisory GHSA-7p8x-8m3m-58j9 (https://github.com/FreePBX/security-reporting/security/advisories/GHSA-7p8x-8m3m-58j9), which documents the affected and fixed versions.

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 vulnerability is an unrestricted-file-upload flaw (CWE-434) in the FreePBX Endpoint Manager module, a component used to provision and manage telephony endpoints (IP phones/softphones) on FreePBX systems. The module's firmware/branding upload functionality accepts a file plus a 'fwbrand' parameter that is used to construct the destination path; because this parameter is not properly validated or sanitized against path traversal, an attacker can redirect where the uploaded file is written. This path-override combined with the file upload allows placement of an arbitrary file - classically a PHP webshell - into a directory served by the web front end, converting an upload primitive into code execution. The affected code lives in the module shipped with FreePBX 16 (prior to 16.0.92) and FreePBX 17 (prior to 17.0.6); the patched builds correct the path-traversal/validation behavior. The key constraint is authentication: per the assessed vector the attacker must already hold a valid session and username with access to the Endpoint Manager module, which is why this is a post-authentication, not pre-authentication, issue.

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:L/SC:N/SI:N/SA:N
vuln.today AI 8.3 HIGH

Network-reachable admin module with no user interaction (AV:N/AC:L/UI:N); authentication required so PR:L (vendor used PR:H), and webshell RCE yields high confidentiality/integrity impact with limited availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. In versions prior to 16.0.92 for FreePBX 16 and versions prior to 17.0.6 for FreePBX 17, the Endpoint Manager module contains an authenticated arbitrary file upload vulnerability affecting the fwbrand parameter. The fwbrand parameter allows an attacker to change the file path. Combined, these issues can result in a webshell being uploaded. Authentication with a known username is required to exploit this vulnerability. Successful exploitation allows authenticated users to upload arbitrary files to attacker-controlled paths on the server, potentially leading to remote code execution. This issue has been patched in version 16.0.92 for FreePBX 16 and version 17.0.6 for FreePBX 17.

Executive ViewAI

Why It Matters

A high-severity flaw in the FreePBX Endpoint Manager module allows an attacker who holds a valid administrative login to upload a web shell and run arbitrary code on the phone system server itself. Because FreePBX commonly sits on or near the network edge, a compromise could expose call records, enable toll fraud and call interception, and provide a foothold for lateral movement into the wider corporate environment. Publicly available exploit code exists and the predicted exploitation probability is unusually high (EPSS 43.7%, 99th percentile), making prompt remediation of internet-reachable management interfaces a near-term priority.

Business Impact: High
Compensating Controls

Apply vendor patch (FreePBX 16.0.92 / 17.0.6). Until patched, remove administrative GUI exposure to the internet (VPN or strict IP allowlisting), enforce strong unique credentials and MFA, restrict Endpoint Manager module access to the smallest possible set of administrators, and monitor web-accessible directories and file integrity for unauthorized PHP uploads.

Threat Intelligence Overview

Threat Score
4.5/10
Composite threat intelligence
EPSS Score
43.7%
Top 1% exploitable
Prevalence
Medium
widely-used open-source PBX, but exposure limited to the endpoint manager module
Exploit
POC
Public exploit code exists
Data Quality
5 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 Yes
EPSS 43.7%
Patch available No
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
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
Active
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

122
Low Medium High Critical
KEV: 0
EPSS: +44
CVSS: +43
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2026-73663 CRITICAL
9.3 Aug 13

SQL injection in the FreePBX missedcall module (versions 16.0.0 through 16.0.10 and 17.0.0 through 17.0.3) lets an unaut

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