Lucene search

K
githubGitHub Advisory DatabaseGHSA-CX7F-G6MP-7HQM
HistorySep 13, 2024 - 6:30 a.m.

Path traversal vulnerability in functional web frameworks

2024-09-1306:30:42
GitHub Advisory Database
github.com
36
path traversal
webmvc
webflux
routerfunctions
filesystemresource
spring security
tomcat
jetty
http requests

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High

EPSS

0

Percentile

9.6%

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.

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

  • the web application uses RouterFunctions to serve static resources
  • resource handling is explicitly configured with a FileSystemResource location

However, malicious requests are blocked and rejected when any of the following is true:

Affected configurations

Vulners
Node
org.springframework\springMatchwebmvc
OR
org.springframework\springMatchwebmvc
OR
org.springframework\springMatchwebmvc
VendorProductVersionCPE
org.springframework\springwebmvccpe:2.3:a:org.springframework\:spring:webmvc:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High

EPSS

0

Percentile

9.6%