🇰🇷 한글 설명
AsyncHttpClient 라이브러리의 2.15.0 미만 및 3.0.10 미만 버전은 리다이렉트 시 쿠키 헤더를 누락하여 크로스 오리진 공격자에게 세션 정보를 유출합니다. 이는 인증 정보가 필요한 리다이렉트 경로에서도 쿠키가 전달되도록 하는 심각한 보안 결함입니다.
💡 쉬운 설명
웹사이트를 이동할 때 로그인 정보 같은 민감한 쿠키가 원치 않는 제3의 사이트로 새어 나가는 문제입니다. 이 결함을 이용하면 해커가 사용자의 세션을 탈취하거나 개인 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Versions on the 2.x branch prior to 2.15.0 and the 3.x branch prior to 3.0.10 leak `Cookie` headers to cross-origin redirect targets. When following a redirect to a different origin, the `propagatedHeaders()` method in `Redirect30xInterceptor.java` strips `Authorization` and `Proxy-Authorization` headers but does not strip the `Cookie` header, causing session cookies and other sensitive cookie values to be sent to attacker-controlled servers. Versions 2.15.0 and 3.0.10 patch the issue.
📍 영향받는 시스템
AsyncHttpClient 2.x (<2.15.0) 및 3.x (<3.0.10)
⚔️ 공격 벡터
공격자가 설정한 악성 URL로 리다이렉트 유도 시 쿠키 헤더 유출
🛡️ 대응 방법
AsyncHttpClient 라이브러리를 2.15.0 또는 3.0.10 이상으로 즉시 업그레이드
🔧 검증 코드
출력된 버전이 2.15.0 미만 또는 3.0.10 미만인 경우 취약한 것으로 판단
mvn dependency:tree -Dincludes=com.github.async-http-client:async-http-client | grep -E '2\.[0-9]+\.[0-9]+|3\.[0-9]+\.[0-9]+'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server