CVE-2025-67722 Details
Description
FreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk. Prior to versions 16.0.45 and 17.0.24 of the FreePBX framework, an authenticated local privilege escalation exists in the deprecated FreePBX startup script `amportal`. In the deprecated `amportal` utility, the lookup for the `freepbx_engine` file occurs in `/etc/asterisk/` directories. Typically, these are configured by FreePBX as writable by the **asterisk** user and any members of the **asterisk** group. This means that a member of the **asterisk** group can add their own `freepbx_engine` file in `/etc/asterisk/` and upon `amportal` executing, it would exec that file with root permissions (even though the file was created and placed by a non-root user). Version 16.0.45 and 17.0.24 contain a fix for the issue. Other mitigation strategies are also available. Confirm only trusted local OS system users are members of the `asterisk` group. Look for suspicious files in the `/etc/asterisk/` directory (via Admin -> Config Edit in the GUI, or via CLI). Double-check that `live_dangerously = no` is set (or unconfigured, as the default is **no**) in `/etc/asterisk/asterisk.conf` file. Eliminate any unsafe custom use of Asterisk dial plan applications and functions that potentially can manipulate the file system, e.g., System(), FILE(), etc.
A local privilege escalation vulnerability has been identified in FreePBX versions prior to 16.0.45 and 17.0.24. The issue resides in the deprecated startup script 'amportal', where it executes files with root permissions from the 'freepbx_engine' file located in writable directories of the 'asterisk' user and group. This allows members of the 'asterisk' group to create a 'freepbx_engine' file that 'amportal' will execute as root, leading to unauthorized privilege escalation.
Users can update to FreePBX versions 16.0.45 or 17.0.24, where this vulnerability has been patched. Additionally, it is recommended to verify that only trusted users are in the 'asterisk' group, check for suspicious files in the '/etc/asterisk/' directory, ensure that 'live_dangerously = no' is set in the 'asterisk.conf' file, and remove any unsafe custom Asterisk dial plan applications that could manipulate the file system.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p42w-v77m-hfp8 | [email protected] | Vendor Advisory |
| https://www.freepbx.org/watch-what-we-do-with-security-fixes-%f0%9f%91%80 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-426 | Untrusted Search Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sangoma freepbx | >= 16.0, < 16.0.45 >= 17.0, < 17.0.24 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Dec 16, 2025 | New CVE Received | [email protected] |