Lucene search
+L

Elastic X-Pack Security SAML Vulnerability (ESA-2018-07)

🗓️ 19 Jan 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

Elastic X-Pack SAML Vulnerability in 6.2.0-6.2.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2018-3822
25 Jun 202621:37
circl
cve
CVE
CVE-2018-3822
30 Mar 201820:00
cve
cvelist
Cvelist
CVE-2018-3822
30 Mar 201820:00
cvelist
elastic
Elastic
Elastic Stack 6.2.3 security update
20 Mar 201819:30
elastic
nessus
Tenable Nessus
Elasticsearch ESA-2018-07
22 Aug 201800:00
nessus
euvd
EUVD
EUVD-2018-15610
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-3822
30 Mar 201820:29
nvd
osv
OSV
CVE-2018-3822
30 Mar 201820:29
osv
prion
Prion
Directory traversal
30 Mar 201820:29
prion
ptsecurity
Positive Technologies
PT-2018-16216 · Elastic · X-Pack Security
30 Mar 201800:00
ptsecurity
# SPDX-FileCopyrightText: 2021 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:elastic:x-pack";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.117171");
  script_version("2025-09-03T14:11:39+0000");
  script_tag(name:"last_modification", value:"2025-09-03 14:11:39 +0000 (Wed, 03 Sep 2025)");
  script_tag(name:"creation_date", value:"2021-01-19 14:15:51 +0000 (Tue, 19 Jan 2021)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-03-24 17:29:00 +0000 (Fri, 24 Mar 2023)");

  script_cve_id("CVE-2018-3822");

  script_tag(name:"qod_type", value:"remote_banner_unreliable"); # nb: Preconditions couldn't apply

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

  script_name("Elastic X-Pack Security SAML Vulnerability (ESA-2018-07)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2021 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_http_detect.nasl");
  script_mandatory_keys("elastic/kibana/x-pack/detected");

  script_tag(name:"summary", value:"Elastic X-Pack Security is prone to a vulnerability in the
  SAML implementation.");

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

  script_tag(name:"insight", value:"X-Pack Security is vulnerable to a user impersonation attack
  via incorrect XML canonicalization and DOM traversal.");

  script_tag(name:"impact", value:"An attacker might have been able to impersonate a legitimate user if
  the SAML Identity Provider allows for self registration with arbitrary identifiers and the attacker
  can register an account with an identifier that shares a suffix with a legitimate account. Both of
  those conditions must be true in order to exploit this flaw.");

  script_tag(name:"affected", value:"X-Pack Security 6.2.0, 6.2.1, and 6.2.2.");

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

  script_xref(name:"URL", value:"https://discuss.elastic.co/t/elastic-stack-6-2-3-security-update/124848");
  script_xref(name:"URL", value:"https://www.elastic.co/community/security");

  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_in_range(version: version, test_version: "6.2.0", test_version2: "6.2.2")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "6.2.3", 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

03 Sep 2025 00:00Current
9.2Critical risk
Vulners AI Score9.2
CVSS 27.5
CVSS 3.19.8
EPSS0.01601
20