Katalog CVE

CVE-2025-67722

WysokieCVSS 7.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

Percentyl 2 - wyżej niż 2% wszystkich znanych CVE

Streszczenie

FreePBX to open-source'owy webowy interfejs graficzny zarządzający Asterisk. Przed wersjami 16.0.45 i 17.0.24 frameworku FreePBX istnieje lokalna eskalacja uprawnień w przestarzałym skrypcie startowym `amportal`. W przestarzałym narzędziu `amportal` wyszukiwanie pliku `freepbx_engine` odbywa się w katalogach `/etc/asterisk/`. Zazwyczaj są one skonfigurowane przez FreePBX jako zapisywalne przez użytkownika **asterisk** i członków grupy **asterisk**. Oznacza to, że członek grupy **asterisk** może dodać własny plik `freepbx_engine` w `/etc/asterisk/` i po uruchomieniu `amportal` wykona ten plik z uprawnieniami roota (mimo że plik został utworzony przez nie-roota). Wersje 16.0.45 i 17.0.24 zawierają poprawkę. Dostępne są również inne strategie łagodzenia. Potwierdź, że tylko zaufani lokalni użytkownicy systemu są członkami grupy `asterisk`. Szukaj podejrzanych plików w katalogu `/etc/asterisk/` (przez Admin -> Config Edit w GUI lub przez CLI). Sprawdź, czy `live_dangerously = no` jest ustawione (lub nieskonfigurowane, ponieważ domyślnie jest **no**) w pliku `/etc/asterisk/asterisk.conf`. Wyeliminuj wszelkie niebezpieczne niestandardowe użycie aplikacji i funkcji dial planu Asterisk, które mogą manipulować systemem plików, np. System(), FILE(), itp.

Ocena ryzyka

Lokalna eskalacja uprawnień do roota może pozwolić atakującemu na pełne przejęcie systemu, co stanowi krytyczne zagrożenie bezpieczeństwa.

Rekomendacja

Zaleca się aktualizację frameworku FreePBX do wersji 16.0.45 lub 17.0.24, ograniczenie członkostwa w grupie asterisk oraz sprawdzenie katalogu /etc/asterisk/ pod kątem podejrzanych plików.

Inne podatności w FreePBX

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS