🔍 CVE-2026-47070

6.1
CVSS Score
MEDIUM
2026-05-25
2026-07-24 10:10
✅ 완료

🇰🇷 한글 설명

benoitc hackney 라이브러리의 HTTP/3 리다이렉트 핸들러에서 민감한 데이터 노출 취약점이 발견되었습니다. HTTP/3 요청 시 리다이렉트가 발생하면 Authorization 또는 Cookie 헤더가 교차 출처 검사 없이 새로운 대상 서버로 그대로 전달됩니다. 이는 기존 hackney 모듈에 적용된 보안 보호 조치가 hackney_h3.erl에는 누락되어 발생한 문제입니다.

💡 쉬운 설명

인터넷 주소가 바뀌는 과정에서 사용자의 비밀번호나 로그인 정보가 엉뚱한 사이트로 그대로 전달될 수 있는 문제입니다. 해커가 만든 사이트로 연결될 경우 사용자의 중요한 개인정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

Sensitive Data Exposure vulnerability in benoitc hackney allows Retrieve Embedded Sensitive Data. The HTTP/3 redirect handler in src/hackney_h3.erl passes the original request headers unchanged to the redirect target without performing any cross-origin check. When a client issues an HTTP/3 request with follow_redirect enabled and includes Authorization or Cookie headers, a server responding with a 3xx redirect to a different host will cause the client to forward those credentials verbatim to the new origin. The main hackney.erl module has maybe_strip_auth_on_redirect/2 (guarded by the location_trusted option) to address CVE-2018-1000007, but hackney_h3.erl is missing this protection entirely. This issue affects hackney: from 3.1.1 before 4.0.1.

📍 영향받는 시스템

hackney: 3.1.1 버전부터 4.0.1 미만 버전

⚔️ 공격 벡터

공격자가 제어하는 서버로 HTTP/3 리다이렉트를 유도하여 클라이언트의 인증 헤더(Cookie, Authorization)를 탈취

🛡️ 대응 방법

hackney 라이브러리를 4.0.1 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전 번호가 4.0.1 미만(예: 3.x.x)이면 취약한 상태입니다.

Shell / Script
erl -noshell -eval 'io:format("~n~s~n", [application:get_version(hackney)]), halt().' 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Client