Lucene search
+L

FreePBX < 13.0.122.43, < 14.0.18.34 XSS Vulnerability

🗓️ 11 Jul 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 133 Views

FreePBX < 13.0.122.43, < 14.0.18.34 XSS Vulnerability. Cross-site scripting vulnerability in FreePBX versions prior to 13.0.122.43 and prior to 14.0.18.34 allows attackers to store JavaScript commands in a module name, leading to remote code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
FreePBX Cross-Site Scripting Vulnerability
24 Jun 201900:00
cnvd
cve
CVE
CVE-2018-15891
20 Jun 201916:35
cve
cvelist
Cvelist
CVE-2018-15891
20 Jun 201916:35
cvelist
euvd
EUVD
EUVD-2018-7747
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-15891
20 Jun 201917:15
nvd
prion
Prion
Design/Logic Flaw
20 Jun 201917:15
prion
redhatcve
RedhatCVE
CVE-2018-15891
22 May 202506:42
redhatcve
# SPDX-FileCopyrightText: 2019 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:freepbx:freepbx";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.142584");
  script_version("2025-09-05T15:40:40+0000");
  script_tag(name:"last_modification", value:"2025-09-05 15:40:40 +0000 (Fri, 05 Sep 2025)");
  script_tag(name:"creation_date", value:"2019-07-11 08:05:36 +0000 (Thu, 11 Jul 2019)");
  script_tag(name:"cvss_base", value:"3.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-12-10 17:19:00 +0000 (Tue, 10 Dec 2019)");

  script_cve_id("CVE-2018-15891");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("FreePBX < 13.0.122.43, < 14.0.18.34 XSS Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_freepbx_http_detect.nasl");
  script_mandatory_keys("freepbx/detected");

  script_tag(name:"summary", value:"FreePBX is prone to a stored cross-site scripting (XSS)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"By crafting a request for adding Asterisk modules, an attacker
  is able to store JavaScript commands in a module name.");

  script_tag(name:"affected", value:"FreePBX prior to version 13.0.122.43 and prior to version
  14.0.18.34.");

  script_tag(name:"solution", value:"Update to version 13.0.122.43, 14.0.18.34 or later.");

  script_xref(name:"URL", value:"https://wiki.freepbx.org/display/FOP/2018-09-11+Core+Stored+XSS");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_is_less(version: version, test_version: "13.0.122.43")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "13.0.122.43", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

if (version_in_range(version: version, test_version: "14", test_version2: "14.0.18.33")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "14.0.18.34", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

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

05 Sep 2025 00:00Current
4.9Medium risk
Vulners AI Score4.9
CVSS 23.5
CVSS 34.8
EPSS0.00563
133