CVE-2023-34036
17.07.2023, 11:15
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-)Forwardedheaders.Enginsight
Vendor | Product | Version |
---|---|---|
vmware | spring_hateoas | 𝑥 < 1.5.5 |
vmware | spring_hateoas | 2.0.0 ≤ 𝑥 < 2.0.5 |
vmware | spring_hateoas | 2.1.0 |
vmware | spring_hateoas | 2.1.0:milestone1 |
vmware | spring_hateoas | 2.1.0:rc1 |
𝑥
= Vulnerable software versions
Common Weakness Enumeration
- CWE-644 - Improper Neutralization of HTTP Headers for Scripting SyntaxThe application does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.
- CWE-116 - Improper Encoding or Escaping of OutputThe software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.