CVE-2025-61678
largeAuthenticated Arbitrary File Upload RCE in FreePBX Endpoint Manager
CVE-2025-61678 is an authenticated arbitrary file upload vulnerability (CWE-434) in the FreePBX Endpoint Manager module, which is used to provision telephony endpoints on FreePBX PBX servers. An attacker who is authenticated (the advisory notes only a known username is required) sends a crafted upload request in which the fwbrand parameter is manipulated, allowing the upload path to be changed so that arbitrary files are written to attacker-controlled locations on the server. By placing a webshell in a web-reachable directory, the attacker can escalate the file upload into remote code execution on the PBX host. Affected deployments are FreePBX 16 systems running Endpoint Manager versions before 16.0.92 and FreePBX 17 systems running versions before 17.0.6. No public proof-of-concept or confirmed in-the-wild exploitation is known yet, but EPSS assigns a 50.2% probability of exploitation within 30 days (99th percentile), and the fix shipped as part of FreePBX's recent batch of critical RCE-enabling patches, so remediation should be treated as urgent.
What to do: Upgrade the Endpoint Manager module to version 16.0.92 on FreePBX 16 or 17.0.6 on FreePBX 17 via Module Admin/fwconsole. Because exploitation requires authentication with a known username, restrict and review administrative access to the FreePBX web UI and audit admin accounts (particularly given the related AUTHTYPE bypass and SQLi fixes in the same patch batch), and check upload and firmware paths for unexpected PHP or webshell files.
| FreePBX (Sangoma) Endpoint Manager module on FreePBX 16 | all versions prior to 16.0.92 |
| FreePBX (Sangoma) Endpoint Manager module on FreePBX 17 | all versions prior to 17.0.6 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-434
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X