SecurityContext

CVE-2023-34036: Spring HATEOAS - Misconfiguration

  • Cve: CVE-2023-34036
  • Name: Spring HATEOAS - Misconfiguration
  • Description: 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.
  • Impact: Attackers can manipulate hypermedia responses via forged headers, potentially leading to information disclosure or response manipulation.
  • Remediation: Implement trusted proxy validation and proper forwarded header handling in the application or infrastructure.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00475
  • Epss percentile: 0.41881
  • Assignee: [email protected]
  • Published at: 2023-07-17T11:15:09Z
  • Age in days: 1226
  • Modified at: 2026-06-17T06:02:46Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-34036
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-644Improper Neutralization of HTTP Headers for Scripting Syntax
CWE-116Improper Encoding or Escaping of Output

References

UrlSourceTags
https://spring.io/security/cve-2023-34036nvdMitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vmware:spring_hateoas= 2.1.0; = 2.1.0 milestone1; = 2.1.0 rc1; >= 2.0.0, < 2.0.5; < 1.5.5nonvd/v1/products/vmware/spring_hateoas

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-hateoaspackageyes/v1/repositories/spring-projects/spring-hateoas

Index

  • Repositories: 12
  • Repositories high signal: 7
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts