A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-61678

CVE-2025-61678: FreePBX Endpoint Manager RCE Vulnerability

CVE-2025-61678 is an authenticated file upload vulnerability in FreePBX Endpoint Manager that enables remote code execution. Attackers can upload malicious files via the fwbrand parameter to gain control of the server.

Published: June 9, 2026

CVE-2025-61678 Overview

CVE-2025-61678 is an authenticated arbitrary file upload vulnerability in the FreePBX Endpoint Manager module. The flaw resides in the fwbrand parameter, which fails to sanitize user-supplied input and allows an attacker to control the destination file path. An authenticated attacker with a known username can chain these issues to upload a webshell to an attacker-controlled location. Successful exploitation can result in remote code execution on the FreePBX server. The vulnerability affects FreePBX 16 prior to 16.0.92 and FreePBX 17 prior to 17.0.6. The flaw is tracked under CWE-434: Unrestricted Upload of File with Dangerous Type.

Critical Impact

Authenticated attackers can upload arbitrary files, including webshells, to attacker-chosen paths, enabling remote code execution on the FreePBX host.

Affected Products

  • FreePBX Endpoint Manager module on FreePBX 16, versions prior to 16.0.92
  • FreePBX Endpoint Manager module on FreePBX 17, versions prior to 17.0.6
  • FreePBX deployments exposing the Endpoint Manager administrative interface

Discovery Timeline

  • 2025-10-14 - CVE-2025-61678 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-61678

Vulnerability Analysis

The Endpoint Manager module in FreePBX manages telephony endpoint configurations and firmware. Two issues in the module combine to allow arbitrary file upload. First, the module accepts file uploads from authenticated administrative users without enforcing strict file type or extension restrictions. Second, the fwbrand parameter, which selects the firmware brand directory, is used to construct the destination file path without proper validation. An attacker who controls fwbrand can traverse or alter the upload target and write a file of arbitrary content to a web-accessible location.

Once a PHP webshell or similar executable artifact lands in a directory served by the FreePBX web server, the attacker can request the file over HTTP to trigger code execution under the web server account. This typically yields the privileges needed to interact with the Asterisk process, read configuration secrets, and pivot deeper into the telephony environment.

Root Cause

The root cause is missing validation of both the uploaded file and the path-controlling fwbrand parameter. The module trusts authenticated input to determine where firmware artifacts are written, violating standard file upload guidance that requires server-side allowlisting of extensions, content types, and fixed storage paths.

Attack Vector

Exploitation requires network access to the FreePBX administrative interface and valid credentials for a known username. The attacker submits a crafted upload request that supplies attacker-controlled file contents along with a manipulated fwbrand value. Because authentication is required, the realistic attack scenarios involve compromised administrator accounts, weak or default credentials, or malicious insiders. Refer to the FreePBX GitHub Security Advisory GHSA-7p8x-8m3m-58j9 for additional technical context.

Detection Methods for CVE-2025-61678

Indicators of Compromise

  • New or unexpected .php files appearing under Endpoint Manager firmware directories or other web-accessible paths on the FreePBX host.
  • HTTP POST requests to Endpoint Manager endpoints containing unusual fwbrand values, including path separators or traversal sequences.
  • Web server processes spawning shells, wget, curl, or other command-line utilities shortly after an upload request.
  • Outbound connections from the FreePBX server to unfamiliar hosts following administrative file upload activity.

Detection Strategies

  • Monitor FreePBX web server access logs for POST requests to Endpoint Manager upload handlers with anomalous fwbrand parameters.
  • Apply file integrity monitoring to the FreePBX web root and firmware directories to detect unauthorized writes.
  • Alert on PHP files written outside the expected firmware storage path or with recent modification times that do not align with patch windows.
  • Correlate authenticated administrative sessions with subsequent process execution chains originating from the web server user.

Monitoring Recommendations

  • Forward FreePBX web server, Asterisk, and operating system logs to a centralized SIEM for correlation and retention.
  • Track FreePBX administrative authentication events and flag logins from unexpected source addresses or outside business hours.
  • Baseline normal Endpoint Manager upload activity and alert on deviations in file paths, sizes, or extensions.

How to Mitigate CVE-2025-61678

Immediate Actions Required

  • Upgrade FreePBX 16 deployments to Endpoint Manager 16.0.92 or later and FreePBX 17 deployments to 17.0.6 or later.
  • Restrict network access to the FreePBX administrative interface using firewalls or VPNs so it is not reachable from untrusted networks.
  • Rotate FreePBX administrative credentials and audit accounts for unused or weakly protected logins.
  • Review the FreePBX web root and firmware directories for unauthorized files and remove any webshells discovered.

Patch Information

The FreePBX maintainers have patched the issue in Endpoint Manager 16.0.92 for FreePBX 16 and 17.0.6 for FreePBX 17. Patch details are documented in the FreePBX GitHub Security Advisory GHSA-7p8x-8m3m-58j9. Administrators should apply updates through the FreePBX module admin or package manager and verify the installed version after upgrade.

Workarounds

  • Where immediate patching is not possible, disable the Endpoint Manager module until the upgrade can be completed.
  • Enforce multi-factor authentication and strong password policies for all FreePBX administrative accounts to reduce the likelihood of credential compromise required for exploitation.
  • Place the FreePBX administrative interface behind a reverse proxy that restricts access by source IP and inspects upload parameters.
bash
# Verify installed FreePBX Endpoint Manager module version
fwconsole ma list | grep -i endpoint

# Upgrade the Endpoint Manager module to a patched release
fwconsole ma downloadinstall endpoint
fwconsole reload

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFreepbx

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability12.97%

  • Known ExploitedNo
  • CVSS 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-434
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-26978: FreePBX Backup Module RCE Vulnerability

  • CVE-2026-40520: FreePBX API RCE Vulnerability

  • CVE-2025-59051: FreePBX Endpoint Manager RCE Vulnerability

  • CVE-2026-28209: FreePBX Command Injection RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English