Lucene search

K
openvasCopyright (C) 2023 Greenbone AGOPENVAS:1361412562310104704
HistoryApr 24, 2023 - 12:00 a.m.

VMware Spring Boot < 2.7.11, 3.0.x < 3.0.6 Security Bypass Vulnerability

2023-04-2400:00:00
Copyright (C) 2023 Greenbone AG
plugins.openvas.org
3
vmware spring boot
security bypass
vulnerability
cloud foundry
update
cve-2023-20873

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.4 High

AI Score

Confidence

High

0.007 Low

EPSS

Percentile

80.7%

VMware Spring Boot is prone to a security bypass
vulnerability.

# 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:vmware:spring_boot";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.104704");
  script_version("2024-01-23T05:05:19+0000");
  script_tag(name:"last_modification", value:"2024-01-23 05:05:19 +0000 (Tue, 23 Jan 2024)");
  script_tag(name:"creation_date", value:"2023-04-24 15:51:58 +0000 (Mon, 24 Apr 2023)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  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-05-01 18:51:00 +0000 (Mon, 01 May 2023)");

  script_cve_id("CVE-2023-20873");

  script_name("VMware Spring Boot < 2.7.11, 3.0.x < 3.0.6 Security Bypass Vulnerability");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_vmware_spring_boot_consolidation.nasl");
  script_mandatory_keys("vmware/spring/boot/detected");

  script_xref(name:"URL", value:"https://spring.io/security/cve-2023-20873");
  script_xref(name:"URL", value:"https://spring.io/blog/2023/04/20/spring-boot-2-7-11-available-now-fixing-cve-2023-20873");
  script_xref(name:"URL", value:"https://spring.io/blog/2023/04/20/spring-boot-3-0-6-available-now-fixing-cve-2023-20873");

  script_tag(name:"summary", value:"VMware Spring Boot is prone to a security bypass
  vulnerability.");

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

  script_tag(name:"insight", value:"An application that is deployed to Cloud Foundry could be
  susceptible to a security bypass.");

  script_tag(name:"affected", value:"VMware Spring Boot versions prior to 2.7.11 and 3.0.x prior to
  3.0.6.

  Specifically, an application is vulnerable when all of the following are true:

  - You have code that can handle requests that match /cloudfoundryapplication/**. Typically, this
  will be if there is a catch-all request mapping which matches /**.

  - The application is deployed to Cloud Foundry.");

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

  # nb: See affected tag for specific constraints / requirements for being vulnerable.
  script_tag(name:"qod_type", value:"executable_version_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

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

if( isnull( 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:"2.7.11" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"2.7.11 / 3.0.6", install_path:location );
  security_message( port:port, data:report );
  exit( 0 );
}

if( version_in_range_exclusive( version:version, test_version_lo:"3.0.0", test_version_up:"3.0.6" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"3.0.6", install_path:location );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.4 High

AI Score

Confidence

High

0.007 Low

EPSS

Percentile

80.7%