Spring Framework < 5.3.41 / 6.0.x < 6.0.25 / 6.1.x < 6.1.14 Multiple Vulnerabilities

medium Nessus Plugin ID 209652

Synopsis

The remote host contains a web application framework that is affected by a path traversal vulnerability.

Description

The remote host contains a Spring Framework version is affected by a path traversal vulnerability.

- Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. This is similar to CVE-2024-38816, but with different input. (CVE-2024-38819)

- The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected. (CVE-2024-38820)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Spring Framework version 5.3.41, 6.0.25, 6.1.14 or later.

See Also

https://spring.io/security/cve-2024-38820

https://spring.io/security/cve-2024-38819

Plugin Details

Severity: Medium

ID: 209652

File Name: spring_CVE-2024-38819.nasl

Version: 1.2

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 10/25/2024

Updated: 10/28/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-38819

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2024-38820

Vulnerability Information

CPE: cpe:/a:pivotal_software:spring_framework

Exploit Ease: No known exploits are available

Patch Publication Date: 10/17/2024

Vulnerability Publication Date: 10/17/2024

Reference Information

CVE: CVE-2024-38819, CVE-2024-38820

IAVA: 2024-A-0679