Lucene search
+L

Red Hat WildFly < 20.0.0 Multiple Vulnerabilities

🗓️ 18 Aug 2023 00:00:00Reported by Copyright (C) 2023 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

Red Hat WildFly < 20.0.0 Multiple Vulnerabilities. A remote deserialization attack is possible in Enterprise Application Beans due to lack of validation/filtering capabilities in wildfly.orf. The EJBContext principle is not popped back after invoking another EJB using a different Security Domain, posing a threat to data confidentiality and integrity

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2020-10740
22 Jun 202000:00
attackerkb
circl
Circl
CVE-2020-10740
25 Jun 202007:55
circl
cnvd
CNVD
Red Hat Wildfly Code Issue Vulnerability
4 Jun 202000:00
cnvd
cve
CVE
CVE-2020-10740
22 Jun 202017:39
cve
cve
CVE
CVE-2020-1719
7 Jun 202116:23
cve
cvelist
Cvelist
CVE-2020-10740
22 Jun 202017:39
cvelist
cvelist
Cvelist
CVE-2020-1719
7 Jun 202116:23
cvelist
euvd
EUVD
EUVD-2021-1370
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2022-5420
3 Oct 202520:07
euvd
github
Github Security Blog
Privilege Context Switching Error in wildlfy
8 Jun 202118:52
github
Rows per page
# SPDX-FileCopyrightText: 2023 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:redhat:wildfly";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.126501");
  script_version("2023-10-06T16:09:51+0000");
  script_tag(name:"last_modification", value:"2023-10-06 16:09:51 +0000 (Fri, 06 Oct 2023)");
  script_tag(name:"creation_date", value:"2023-08-18 09:00:19 +0000 (Fri, 18 Aug 2023)");
  script_tag(name:"cvss_base", value:"6.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-07-10 18:10:00 +0000 (Fri, 10 Jul 2020)");

  script_cve_id("CVE-2020-10740", "CVE-2020-1719");

  # nb: No "remote_banner_unreliable" as the VT is checking for < 20 which is fine (the HTTP
  # detection is only able to extract the major version like e.g. "26").
  script_tag(name:"qod_type", value:"remote_banner");

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

  script_name("Red Hat WildFly < 20.0.0 Multiple Vulnerabilities");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Web Servers");
  script_dependencies("sw_redhat_wildfly_http_detect.nasl");
  script_mandatory_keys("redhat/wildfly/detected");

  script_tag(name:"summary", value:"Red Hat WildFly is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"The following flaws exist:

  - CVE-2020-10740: A remote deserialization attack is possible in the Enterprise Application Beans
  (EJB) due to lack of validation/filtering capabilities in wildfly.orf.

  - CVE-2020-1719: The EJBContext principle is not popped back after invoking another EJB using a
  different Security Domain. The highest threat from this vulnerability is to data confidentiality
  and integrity.");

  script_tag(name:"affected", value:"Red Hat WildFly prior to version 20.0.0.");

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

  script_xref(name:"URL", value:"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10740");
  script_xref(name:"URL", value:"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1719");

  exit(0);
}

include("version_func.inc");
include("host_details.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"];

# nb: We're just using "20" here because the HTTP detection is currently only extracting versions
# like e.g. "20", "26" and so on.
if (version_is_less(version: version, test_version: "20")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "20.0.0", 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

06 Oct 2023 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 26
CVSS 3.16.6 - 7.5
EPSS0.0172
23