🔍 CVE-2023-34036

5.3
CVSS Score
MEDIUM
2023-07-17
2026-06-17 06:02
✅ 완료

🇰🇷 한글 설명

Spring WebFlux와 Spring HATEOAS를 사용하는 반응형 웹 애플리케이션에서 신뢰할 수 없는 프록시를 통해 조작된 (X-)Forwarded 헤더가 유입될 경우 발생합니다. 적절한 검증 절차가 없다면 하이퍼미디어 기반 응답의 링크가 악의적인 주소로 생성될 수 있습니다.

💡 쉬운 설명

웹사이트가 링크를 자동으로 만들 때, 공격자가 보낸 가짜 정보를 믿어버려 잘못된 주소를 링크로 보여줄 수 있는 문제입니다. 이를 통해 사용자가 가짜 사이트로 유도될 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Spring WebFlux 및 Spring HATEOAS를 사용하는 반응형 웹 애플리케이션

⚔️ 공격 벡터

신뢰할 수 없는 클라이언트가 조작된 (X-)Forwarded 헤더를 전송하여 응답 내 하이퍼미디어 링크를 변조함

🛡️ 대응 방법

신뢰할 수 있는 프록시를 배치하여 헤더를 검증하거나, WebFlux 또는 HTTP 서버 수준에서 잘못된 헤더를 차단 및 폐기하도록 설정함

🔧 검증 코드

명령어 결과에 spring-boot-starter-webflux 또는 spring-hateoas 라이브러리가 포함되어 있는지 확인합니다.

Shell / Script
mvn dependency:tree | grep -E 'spring-boot-starter-webflux|spring-hateoas'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring HATEOAS