🇰🇷 한글 설명
AdonisJS 프레임워크의 @adonisjs/http-server 및 @adonisjs/core 패키지에서 response.redirect().back() 메서드가 Referer 헤더의 호스트를 검증하지 않는 취약점이 발견되었습니다. 공격자가 Referer 헤더를 조작할 경우 사용자를 악성 외부 사이트로 리다이렉트시킬 수 있습니다.
💡 쉬운 설명
웹사이트가 사용자를 '이전 페이지'로 돌려보낼 때, 가짜 주소를 믿고 사용자를 위험한 사이트로 보내버릴 수 있는 문제입니다. 공격자가 주소를 속이면 사용자는 자신도 모르게 피싱 사이트로 이동하게 됩니다.
🇺🇸 원문 (English)
AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. In @adonisjs/http-server versions prior to 7.8.1 and 8.0.0-next.0 through 8.1.3, and @adonisjs/core versions prior to 7.4.0, the response.redirect().back() method reads the Referer header from the incoming HTTP request and redirects to that URL without validating the host.An attacker who can influence the Referer header can cause the application to redirect users to a malicious external site. This affects all AdonisJS applications that use response.redirect().back() or response.redirect('back'). This issue has been fixed in versions 7.8.1 and 8.2.0 and 7.4.0 of @adonisjs/core.
📍 영향받는 시스템
@adonisjs/http-server < 7.8.1, @adonisjs/http-server 8.0.0-next.0 ~ 8.1.3, @adonisjs/core < 7.4.0
⚔️ 공격 벡터
HTTP 요청의 Referer 헤더를 조작하여 악성 URL로 리다이렉트 유도
🛡️ 대응 방법
@adonisjs/http-server를 7.8.1 또는 8.2.0 이상으로, @adonisjs/core를 7.4.0 이상으로 업데이트
🔧 검증 코드
출력된 패키지 버전이 취약한 버전 범위에 포함되는지 확인
npm list @adonisjs/http-server @adonisjs/core
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server