🔍 CVE-2026-111756

0.0
CVSS Score
UNKNOWN
2026-10-20
2026-10-23 02:16
✅ 완료

🇰🇷 한글 설명

Node.js의 follow-redirects 라이브러리에서 헤더를 배열 형태로 전달할 경우, 리다이렉트 시 민감한 인증 정보(Authorization, Cookie 등)를 삭제하지 못하는 취약점이 발견되었습니다. 이로 인해 공격자가 제어하는 다른 호스트로 리다이렉트될 때 사용자의 인증 정보가 그대로 노출될 수 있습니다. 해당 문제는 1.16.1 버전에서 패치되었습니다.

💡 쉬운 설명

웹사이트를 이용할 때 자동으로 다른 페이지로 연결해주는 기능에서, 중요한 비밀번호나 로그인 정보가 보호되지 않고 엉뚱한 곳으로 전달될 수 있는 문제입니다. 공격자가 만든 가짜 페이지로 연결되면 여러분의 로그인 정보가 탈취될 수 있습니다.

🇺🇸 원문 (English)

follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. From version 1.16.0 to before version 1.16.1, follow-redirects removes sensitive credential headers (Authorization, Proxy-Authorization, Cookie, and any caller-declared sensitiveHeaders) before following a redirect that crosses to a different host or downgrades to a less secure protocol. The removal routine iterates the caller's headers container with for...in and matches header names against a filter. This assumes the headers container is a plain object keyed by header names. Node's underlying http.request, which follow-redirects is a drop-in replacement for, also accepts headers as an alternating array of names and values. For an array, for...in yields the numeric indices "0", "1", "2" and so on, which never match a header-name filter, so nothing is removed. An application that sends array-form headers and follows an attacker-controlled cross-origin redirect therefore forwards its Authorization, Cookie, and Proxy-Authorization headers verbatim to the attacker-controlled destination, with no error or warning. The sensitiveHeaders option added to fix CVE-2026-40895 / GHSA-r4q5-vmmm-2653 is equally ineffective, because it relies on the same helper. This is an unauthenticated confidentiality vulnerability: any remote server the victim application contacts can harvest the victim's credential headers by responding with a cross-origin redirect. This issue has been patched in version 1.16.1.

📍 영향받는 시스템

follow-redirects version 1.16.0 and earlier (specifically versions where headers are passed as an array)

⚔️ 공격 벡터

공격자가 제어하는 서버로의 교차 출처(Cross-origin) 리다이렉트를 유도하여 민감한 헤더 정보를 탈취

🛡️ 대응 방법

follow-redirects 라이브러리를 1.16.1 버전 이상으로 업데이트

🔧 검증 코드

출력된 결과에서 follow-redirects의 버전이 1.16.1 미만인지 확인

Shell / Script
npm list follow-redirects

💻 영향받는 소프트웨어

IBM WebSphere Application Server