{"id":"CVE-2023-34036","published":"2023-07-17T10:00:43Z","modified":"2024-10-30T14:52:30Z","title":"Forwarded header exploit with Spring HATEOAS on WebFlux","vendor":"Spring","product":"Spring HATEOAS","tier":"tail","description":{"text":"\nReactive 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.\n\nFor the application to be affected, it needs to satisfy the following requirements:\n\n  *  It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.\n  *  The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.\n\n\n\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00475,"percentile":0.4196,"provenance":"source"},"cwes":[{"id":"CWE-644","name":"Improper Neutralization of HTTP Headers for Scripting Syntax"}],"references":[{"url":"https://spring.io/security/cve-2023-34036","tags":[]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":8.39},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring HATEOAS","versions":["1.5.4 or older","2.0.4 or older","2.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-30T14:52:19.900378Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.hateoas:spring-hateoas","vulnerableRanges":["<1.5.5",">=2.0.0, <2.0.5",">=2.1.0, <2.1.1"],"patched":["1.5.5","2.0.5","2.1.1"],"from":["GHSA-7m5c-fgwf-mwph"],"provenance":"source"}],"summary":{"text":"Spring HATEOAS, when used with the reactive Spring WebFlux stack to build hypermedia links, can be exposed to malicious forwarded headers (such as X-Forwarded-* headers) that influence the generated links when the application is not behind a trusted proxy that validates them and nothing else in WebFlux or the underlying HTTP server handles or discards them. An attacker who can reach the application over the network and send crafted forwarded headers, without needing authentication or user interaction, can cause it to produce altered link content in its responses, with a low integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:57Z"},"euvd":{"id":"EUVD-2023-1992","exploited":false,"provenance":"source"}}