Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-67722

MEDIUM 5.7EPSS 6%

Authenticated amportal search for ‘freepbx_engine’ in non root writeable directories leads to potential privilege escalation

Mitigation

  • Upgrade framework to 17.0.24 or later.

Who should check

  • Anyone running FreePBX framework < 16.0.45; >= 17.0.0, < 17.0.24

Vulnerability facts

Affected
FreePBX framework < 16.0.45; >= 17.0.0, < 17.0.24
Fixed in
FreePBX framework 16.0.45, FreePBX framework 17.0.24
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.7 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UOpen in CVSS calculator
Show all 12 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: High
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • Exploit maturity: Unreported
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-426
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
FreePBX framework< 16.0.45; >= 17.0.0, < 17.0.24—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-67722. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-67722.md
Affected: FreePBX framework < 16.0.45; >= 17.0.0, < 17.0.24
Fixed in: FreePBX framework 16.0.45, FreePBX framework 17.0.24

Steps:
1. Search this machine and project for FreePBX framework: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-67722 being exploited?

There is no confirmed exploitation: CVE-2025-67722 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-67722?

Medium: CVSS 5.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-67722?

FreePBX framework < 16.0.45; >= 17.0.0, < 17.0.24.

Is there a fix for CVE-2025-67722?

Yes. Fixed in FreePBX framework 16.0.45, FreePBX framework 17.0.24. Upgrade framework to 17.0.24 or later.

How do I check if I'm affected by CVE-2025-67722?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors