CVE-2025-67722

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*

History

07 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) FreePBX es una interfaz gráfica de usuario (GUI) de código abierto basada en web que gestiona Asterisk. Antes de las versiones 16.0.45 y 17.0.24 del framework de FreePBX, existe una escalada de privilegios local autenticada en el script de inicio obsoleto de FreePBX 'amportal'. En la utilidad obsoleta 'amportal', la búsqueda del archivo 'freepbx_engine' ocurre en los directorios '/etc/asterisk/'. Típicamente, estos son configurados por FreePBX como escribibles por el usuario asterisk y cualquier miembro del grupo asterisk. Esto significa que un miembro del grupo asterisk puede añadir su propio archivo 'freepbx_engine' en '/etc/asterisk/' y al ejecutarse 'amportal', ejecutaría ese archivo con permisos de root (aunque el archivo fue creado y colocado por un usuario no-root). Las versiones 16.0.45 y 17.0.24 contienen una solución para el problema. Otras estrategias de mitigación también están disponibles. Confirme que solo los usuarios de sistema del SO local de confianza son miembros del grupo 'asterisk'. Busque archivos sospechosos en el directorio '/etc/asterisk/' (a través de Admin -> Config Edit en la GUI, o a través de CLI). Verifique dos veces que 'live_dangerously = no' esté configurado (o no configurado, ya que el valor predeterminado es no) en el archivo '/etc/asterisk/asterisk.conf'. Elimine cualquier uso personalizado inseguro de aplicaciones y funciones del plan de marcado de Asterisk que potencialmente puedan manipular el sistema de archivos, p. ej., System(), FILE(), etc.

Information

Published : 2025-12-16 01:15

Updated : 2026-10-07 19:10


NVD link : CVE-2025-67722

Mitre link : CVE-2025-67722

CVE.ORG link : CVE-2025-67722


JSON object : View

Products Affected

sangoma

  • freepbx
CWE
CWE-426

Untrusted Search Path