Skip to main content

FreePBX Endpoint Manager CVE-2025-59051

HIGH
OS Command Injection (CWE-78)
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 web admin
  2. Delivery
    Open Endpoint Manager Network Scanning
  3. Exploit
    Inject shell metacharacters into scan input
  4. Execution
    Command runs as asterisk user
  5. Impact
    Arbitrary code execution on PBX host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) a valid authenticated session to the FreePBX web interface with a KNOWN username, and (2) high/administrative privileges sufficient to reach the Endpoint Manager module's Network Scanning feature, which exposes nmap via the web UI. The concrete trigger is supplying crafted, insufficiently sanitized input to that Network Scanning function, which is passed to an OS command. Limiting factors: the PR:H requirement means an unprivileged or unauthenticated remote attacker cannot exploit this; the Endpoint Manager module (a commercial add-on) must be installed and the Network Scanning feature reachable; and affected deployments must be running Endpoint Manager 16 before 16.0.92 or 17 before 17.0.6. No user interaction by a victim is required.

Impact

Multiple signals converge on a moderate-but-real risk rather than an emergency. The CVSS 4.0 base score of 8.6 (HIGH) reflects network attack vector (AV:N), low complexity (AC:L), no attacker-side requirements (AT:N), no user interaction (UI:N), and high confidentiality/integrity impact with low availability impact (VC:H/VI:H/VA:L) - but it is explicitly gated by PR:H, meaning the attacker must already hold high (administrative) privileges in the FreePBX web interface. This single factor is the dominant risk-limiter: an outsider cannot trigger this directly. The EPSS score is low at 0.53% (43rd percentile), consistent with a vulnerability that requires authentication and is not yet being mass-exploited. There is no CISA KEV listing and no public exploit code identified in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' SSVC-style reasoning: exploitation is not observed, the flaw is likely automatable once credentials exist, and technical impact is total for the asterisk service context. The signals are internally consistent - high impact offset by a high privilege precondition and low real-world exploitation probability - so this is a legitimate patch priority for FreePBX operators (especially where web admin access is broadly delegated or shared) but not a drop-everything internet-wide threat.

Exploit ScenarioDerived

An attacker who has obtained valid FreePBX web admin credentials (via phishing, credential reuse, or an insider) navigates to the Endpoint Manager's Network Scanning feature and injects shell metacharacters into the user-supplied input passed to nmap. Because input is insufficiently sanitized, the crafted value is executed as an OS command in the context of the asterisk user, giving the attacker arbitrary command execution on the PBX host. No public proof-of-concept exploit was identified in the provided data, and the network attack vector with low complexity means exploitation is straightforward once authenticated.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

OS command injection in the FreePBX Endpoint Manager module's Network Scanning feature allows a highly privileged, authenticated user to execute arbitrary operating system commands as the asterisk service account, affecting Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6. The CVSS 4.0 base score is 8.6 (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L), and our independent assessment concurs with high confidentiality and integrity impact but only low availability impact, since this is effectively post-authentication command execution rather than a pre-auth compromise. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and EPSS is low at 0.53% (43rd percentile), so the practical risk is concentrated in deployments where the Endpoint Manager commercial module is installed and its Network Scanning feature is reachable. Vendor-released patches exist: Endpoint Manager 16.0.92 and 17.0.6.

RemediationAI

Upgrade the FreePBX Endpoint Manager module to the vendor-released fixed versions: 16.0.92 for the 16.x branch or 17.0.6 for the 17.x branch, which the advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-qgj3-f9gj-98v9 identifies as resolving the flaw; modules are normally updated through the FreePBX Module Admin interface or the standard 'fwconsole ma upgrade endpoint' workflow. If immediate patching is not possible, compensating controls with known trade-offs include disabling or removing the Endpoint Manager Network Scanning feature if device discovery is not operationally required (this sacrifices the nmap-based discovery capability fully), and strictly restricting web-interface access to the module to trusted administrative networks via firewall rules or VPN-only exposure (this reduces but does not eliminate risk from a compromised or malicious admin account). Because exploitation requires high privileges, tightening FreePBX admin account hygiene - unique strong credentials, removal of unused admin accounts, and review of module-level permissions - is worthwhile but should not be treated as a substitute for the upgrade. Given the absence of public exploit code and confirmed in-the-wild exploitation, prioritize patching based on whether the Endpoint Manager module is exposed and whether administrative access paths are broadly reachable; also monitor web and Asterisk logs for anomalous nmap invocations or unexpected shell processes running as the asterisk user.

Affected ProductsAI

The vulnerability affects the FreePBX Endpoint Manager module in version 16 prior to 16.0.92 and version 17 prior to 17.0.6, as stated in the GitHub Security Advisory GHSA-qgj3-f9gj-98v9 (https://github.com/FreePBX/security-reporting/security/advisories/GHSA-qgj3-f9gj-98v9), which is the only reference associated with this CVE. Endpoint Manager is a commercial add-on to FreePBX rather than a component of FreePBX core, so only systems with the module installed and the Network Scanning feature reachable are in scope; Endpoint Manager 16.0.92 and 17.0.6 and later are not affected. No CPE strings were supplied in the source data, so the version ranges above should be treated as the authoritative affected-product statement pending any vendor clarification.

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 root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command, i.e. OS command injection). FreePBX Endpoint Manager is a commercial module for the FreePBX/Asterisk PBX platform that provisions and manages SIP/telephony endpoints; it bundles a Network Scanning feature that exposes nmap through the FreePBX web interface to let administrators discover network devices. Because user-supplied input to that scanning functionality is insufficiently sanitized before being passed to an OS command, crafted input is interpreted by the underlying shell rather than treated as inert nmap arguments. Per the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N), the issue is remotely reachable with low attack complexity, no attack requirements, and no victim user interaction, but requires high privileges (PR:H) - i.e. a valid authenticated session for a known account with access to the module. Successful exploitation yields command execution in the context of the asterisk user, which on typical FreePBX installs owns much of the telephony stack and configuration, making full compromise of the PBX plausible from that foothold.

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

Web-reachable (AV:N) and simple to trigger (AC:L) but requires administrative web access (PR:H); command execution as asterisk yields high C/I and low A, scope unchanged.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:H/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

The FreePBX Endpoint Manager module includes a Network Scanning feature that provides web-based access to nmap functionality for network device discovery. In Endpoint Manager 16 before 16.0.92 and 17 before 17.0.6, insufficiently sanitized user-supplied input allows authenticated OS command execution as the asterisk user. Authentication with a known username is required. Updating to Endpoint Manager 16.0.92 or 17.0.6 addresses the issue.

Executive ViewAI

Why It Matters

FreePBX Endpoint Manager contains a high-severity OS command injection flaw that lets a highly privileged authenticated user execute commands as the asterisk service account, potentially compromising telephony infrastructure, call data, and PBX configuration integrity. The risk is concentrated in organizations running the commercial Endpoint Manager module with the Network Scanning feature reachable, and leadership should prioritize inventory, access restriction, and remediation because telephony is often business-critical. No public exploit identified at time of analysis, and the vendor has released fixed versions for supported branches.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
popular open-source PBX among SMBs; Endpoint Manager is an add-on module
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.5%
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
High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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