Forwarded header exploit with Spring HATEOAS on WebFlux
CVE-2023-34036

5.3MEDIUM

Key Information:

Vendor

Spring

Vendor
CVE Published:
17 July 2023

What is CVE-2023-34036?

Reactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures correctness of such headers, or if they don't have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server.

For the application to be affected, it needs to satisfy the following requirements:

  • It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.
  • The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.

Affected Version(s)

Spring HATEOAS Windows 1.5.4 or older

Spring HATEOAS Windows 2.0.4 or older

Spring HATEOAS Windows 2.1.0

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.