Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with known username
-
DeliveryUpload PHP payload and leak path via soundlang/backup
-
ExploitSend crafted AJAX to Superfecta options handler
-
ExecutionForce include of attacker file from sources/
-
ImpactExecute arbitrary PHP as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires an authenticated session with a KNOWN valid username on the FreePBX web interface (PR:L) and the Superfecta module being installed/enabled. Full RCE is not achievable from the inclusion flaw alone: per the advisory it must be chained with (1) arbitrary directory creation via the backup module and (2) a file upload that reveals full filesystem paths via the soundlang module, so the attacker can place and reference a PHP payload the sources/ inclusion logic will load. Limiting factors: valid credentials are mandatory, the Superfecta/backup/soundlang modules must be present, and successful exploitation depends on the multi-module chaining rather than a single request. Affects FreePBX prior to 16.0.40 and 17.0.7. |
| Impact | This is a genuine, high-priority vulnerability but not a drop-everything emergency for internet-facing panic. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) rates it 8.6, reflecting network-reachable, low-complexity RCE that yields full confidentiality and integrity impact on the vulnerable system. The critical mitigating signal is PR:L: exploitation requires authentication with a KNOWN username, so it is not a pure unauthenticated pre-auth RCE. No EPSS score, no CISA KEV listing, and no public POC are provided, so there is no evidence of active exploitation or mass automation at time of analysis - this argues for prompt-but-scheduled patching rather than crisis response. Note a taxonomy mismatch: the assigned CWE-20 (improper input validation) understates the true nature, which is unsafe dynamic PHP file inclusion (LFI-to-RCE, closer to CWE-98) - this is a description/CWE inconsistency worth flagging, not a blocker. Also note the attack is not fully self-contained: full RCE is described as requiring chaining with arbitrary directory creation (backup module) and path-revealing file uploads (soundlang module), which raises real-world exploitation complexity above what AC:L alone suggests. |
| Exploit ScenarioDerived | An attacker who has obtained any valid FreePBX web account (even a low-privilege known username) sends a crafted AJAX request to the Superfecta module's options/save_options handler, supplying input that controls which PHP file is included from the sources/ directory. By first planting a PHP payload at a known path - using the backup module to create an arbitrary directory and the soundlang module upload to reveal the full filesystem path - the attacker forces inclusion of their file and executes arbitrary PHP as the web server user. No public exploit code is identified at time of analysis, but the advisory describes the full chain in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Authenticated remote code execution in the FreePBX Superfecta module (FreePBX prior to 16.0.40 and 17.0.7) allows a user holding valid credentials with a known username to make the module's AJAX handler dynamically include attacker-influenced PHP files from its sources/ directory, executing arbitrary PHP with the privileges of the web server user. Exploitation is remote and low-complexity from the attacker's side (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N, score 8.6), but our assessment notes the inclusion flaw alone is not sufficient: per the GitHub advisory (GHSA-j53p-5m8r-j3p6) the attacker must chain it with arbitrary directory creation via the backup module and a path-revealing file upload via the soundlang module, so the Superfecta, backup, and soundlang modules must all be present and a valid login is mandatory (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H). No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis; vendor-released patches are available in versions 16.0.40 and 17.0.7, making this a high-priority fix rather than an internet-facing emergency, particularly for systems with the affected modules exposed to untrusted users.
RemediationAI
Apply the vendor-released patch by upgrading the Superfecta module to version 16.0.40 on FreePBX 16 or 17.0.7 on FreePBX 17, following the advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6; use Module Admin's upgrade path and confirm the module version actually changed, since FreePBX modules update independently of the core framework. Where patching cannot be done immediately, the most effective compensating control is to disable or uninstall the Superfecta module entirely through Module Admin - the trade-off is loss of Superfecta's caller-ID/source-lookup behavior in inbound call routing, which may need to be replaced by a static or alternate caller-ID source. Because successful exploitation requires the cooperation of two additional modules, additionally restrict or remove the backup module (which supplies arbitrary directory creation) and the soundlang module (which discloses full paths through uploads) on any system that does not need them; disabling backup removes scheduled configuration backups, and disabling soundlang removes custom language-prompt handling, so both should be scoped to non-essential systems only. Harden the authentication and exposure surface by restricting access to the FreePBX administrative interface to trusted management networks or a VPN and by ensuring every account with web access has a strong unique password and least-privilege module permissions - note this does not remediate the flaw but raises the bar for the mandatory known-username authentication step. As detective measures with lower confidence, monitor Apache/PHP access and error logs for AJAX requests to the Superfecta handler carrying unusual file or path parameters, for unexpected writes under the module's sources/ directory or webroot subdirectories, and for PHP processes spawned by the web server user, and run the web server user with minimal filesystem permissions so any included payload has limited reach; these controls reduce impact but are not substitutes for the 16.0.40 / 17.0.7 upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the options and save_options cases of the Superfecta module's AJAX handler, where PHP code performs a dynamic include of files under the module's sources/ directory using user-supplied input without validating it against an allowlist or canonicalizing the path (CWE-20, improper input validation; the practical effect is a local/remote file inclusion primitive). Because PHP evaluates any file it includes as code, an attacker who can cause a file they control to exist inside an includable path can turn the include into code execution under the web server account (typically the asterisk/www-data user in FreePBX deployments). The advisory explicitly frames this as a chained exploit: the Superfecta include provides the execution primitive, the backup module provides arbitrary directory creation so a controlled directory can be placed where the inclusion logic will resolve it, and the soundlang module's file-upload functionality discloses full filesystem paths so the attacker knows exactly what to reference. This is why the vendor's CVSS:4.0 vector rates attack complexity low from a pure RCE standpoint while our independent CVSS:3.1 assessment raises complexity to High (AC:H) and requires Low privileges (PR:L) - the real-world precondition is a valid authenticated session with a known username plus the presence of the three cooperating modules, not a single unauthenticated request. The module-code context matters: FreePBX modules are independently versioned RPM/tarball components managed through Module Admin, so a patched framework does not imply a patched Superfecta, and an installed-but-unused Superfecta still exposes the AJAX handler.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable authenticated RCE (PR:L), but AC:H because reliable exploitation requires chaining backup directory creation and soundlang path disclosure; code execution as web user yields C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code execution (RCE) vulnerability exists in the superfecta module due to unsafe inclusion of arbitrary PHP files, allowing authenticated attackers to execute arbitrary PHP code on the server with the privileges of the web server user. Authentication with a known username is required. The vulnerability is rooted in the options and save_options cases in the Superfecta module's AJAX handler. The code dynamically includes PHP files from the sources/ directory based on user-supplied input. This allows an attacker to execute arbitrary code when combined with arbitrary directory creation (e.g., via the backup module) and file uploads that reveal full paths (e.g., via the soundlang module). This issue has been patched in versions 16.0.40 and 17.0.7.
Technical POC Analysis
CWE-20 (Improper Input Validation) per the CVE, additionally scored CWE-94 (Code Injection) by the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Organizations running FreePBX with the Superfecta, backup, and soundlang modules face an authenticated remote code execution risk that could let a user with valid credentials execute arbitrary code as the web server user. Because FreePBX often supports mission-critical voice services, a compromise could disrupt communications, expose sensitive call data, and provide a foothold for lateral movement. No public exploit identified at time of analysis, but the issue is high severity and requires immediate exposure and credential controls.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting FreePBX admin and AJAX access to trusted networks, enforcing MFA and least privilege, disabling unused Superfecta/backup/soundlang modules, monitoring web server and FreePBX logs for file inclusion or upload anomalies, deploying WAF/IPS rules, and segmenting the PBX from general user networks.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke
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
htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,
Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef
Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username
Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ
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
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
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param
Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar
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
EUVD-2026-88390
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB