Куда я попал?
SECURITM это SGRC система, ? автоматизирующая процессы в службах информационной безопасности. SECURITM помогает построить и управлять ИСПДн, КИИ, ГИС, СМИБ/СУИБ, банковскими системами защиты.
А еще SECURITM это место для обмена опытом и наработками для служб безопасности.

FreePBX filestore authenticated command injection

exploit

This module exploits an authenticated command injection vulnerability (CVE-2025-64328) in the FreePBX filestore module. The filestore module allows administrators to configure remote file storage backends (SSH, FTP, etc.) for backup and file management purposes. The vulnerability exists in the SSH driver's testconnection functionality, specifically in the check_ssh_connect() function located at /admin/modules/filestore/drivers/SSH/testconnection.php. The function accepts user-controlled input for the SSH key path parameter, which is then passed unsanitized to exec() calls when generating SSH keys. The vulnerable code executes commands such as: exec("ssh-keygen -t ecdsa -b 521 -f $key -N \"\" && chown asterisk:asterisk $key && chmod 600 $key"); By injecting shell command substitution syntax (e.g., $(command)) into the key parameter, an authenticated user can execute arbitrary commands on the underlying system with the privileges of the web server process (typically the asterisk user). This vulnerability affects filestore module versions 17.0.2.36 through 17.0.2.44 (introduced in 17.0.2.36, patched in 17.0.3). The module requires valid FreePBX credentials for a user account that has access to the filestore module. The user must be in the "Filestore" group (administrator or low-privilege user). Note: Due to the vulnerable code structure, the injected command may be executed multiple times, potentially resulting in multiple Meterpreter sessions.

Модуль exploit/unix/http/freepbx_filestore_cmd_injection
Тип exploit
Ранг Excellent
Дата раскрытия 08.11.2025
Платформа Linux,Unix
Архитектура cmd
Авторы Cory Billington, Valentin Lobstein <chocapikk@leakix.net>
Файл в источнике /modules/exploits/unix/http/freepbx_filestore_cmd_injection.rb

Ссылки источника

Связанные уязвимости CVE

Идентификаторы CVE, объявленные в источнике для этого модуля
Идентификатор Описание
CVE-2025-64328 FreePBX Administration GUI is Vulnerable to Authenticated Command Injection

Связанные уязвимости БДУ ФСТЭК

Идентификатор Название
BDU:2026-02198 Уязвимость модуля "endpoint" веб-интерфейса управления системами IP-телефонии FreePBX, позволяющая нарушителю выполнить произвольный код

Связанные типы ошибок CWE

Идентификатор Описание
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a...

CISA KEV - известные эксплуатируемые уязвимости

Записи каталога CISA, для которых известны факты активной эксплуатации
Идентификатор Дата добавления Описание Ransomware
CVE-2025-64328 03.02.2026 Sangoma FreePBX Endpoint Manager contains an OS command injection vulnerability that could allow for a post-authentication command injection by an authenticated known user via the... Нет

Мы используем cookie-файлы, чтобы получить статистику, которая помогает нам улучшить сервис для вас с целью персонализации сервисов и предложений. Вы может прочитать подробнее о cookie-файлах или изменить настройки браузера. Продолжая пользоваться сайтом, вы даёте согласие на использование ваших cookie-файлов и соглашаетесь с Политикой обработки персональных данных.