Lucene search
K

FreePBX 17.0.2.36 < 17.0.3 Command Injection (GHSA-vm9p-46mv-5xvw)

🗓️ 05 Feb 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

FreePBX 17.0.2.36 to before 17.0.3 has post-auth command injection via filestore testconnection.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(298039);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/06");

  script_cve_id("CVE-2025-64328");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2026/02/24");

  script_name(english:"FreePBX 17.0.2.36 < 17.0.3 Command Injection (GHSA-vm9p-46mv-5xvw)");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server hosts a PHP application that is affected by a command injection vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of FreePBX installed on the remote host is 17.0.2.36 or later but prior to 17.0.3. It is, therefore,
affected by a command injection vulnerability:

  - The filestore module within the Administrative interface is vulnerable to a post-authentication command
    injection by an authenticated known user via the testconnection -> check_ssh_connect() function. An
    attacker can leverage this vulnerability to obtain remote access to the system as an asterisk user.
    (CVE-2025-64328)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://github.com/FreePBX/security-reporting/security/advisories/GHSA-vm9p-46mv-5xvw
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f2ef34bb");
  script_set_attribute(attribute:"solution", value:
"Upgrade to FreePBX version 17.0.3 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:A");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-64328");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/11/05");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/11/05");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/02/05");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:freepbx:freepbx");
  script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("freepbx_detect.nasl");
  script_require_keys("installed_sw/FreePBX");
  script_require_ports("Services/www", 80);

  exit(0);
}

include('vcf.inc');
include('http.inc');

var app = 'FreePBX';
get_install_count(app_name:app, exit_if_zero:TRUE);

var port = get_http_port(default:80, php:TRUE);
var app_info = vcf::get_app_info(app:app, port:port, webapp:TRUE);

# Require 4 version segments for 17.0.2.x to distinguish 17.0.2.35 (not vuln) from 17.0.2.36+ (vuln)
if (app_info.version =~ "^17\.0\.2($|[^0-9])")
  vcf::check_granularity(app_info:app_info, sig_segments:4);

var constraints = [
  {'min_version': '17.0.2.36', 'fixed_version': '17.0.3'}
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Feb 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.17.2
CVSS 48.6
EPSS0.75413
SSVC
3