🔍 CVE-2025-58067

4.2
CVSS Score
MEDIUM
2025-08-29
2026-10-18 21:10
✅ 완료

🇰🇷 한글 설명

Basecamp의 google_sign_in 젬 1.3.1 미만 버전에서 세션 스토어의 'proceed_to' 값이 프로토콜 상대 URL로 설정될 경우 다른 오리진으로 리다이렉트될 수 있는 취약점이 존재합니다. 공격자가 폼 제출을 통해 세션 값을 조작하고 OAuth2 요청 파라미터를 수정할 수 있는 다른 공격과 연계할 경우 발생할 수 있습니다.

💡 쉬운 설명

구글 로그인을 도와주는 프로그램의 허점을 이용해 사용자를 가짜 사이트로 몰아넣을 수 있는 보안 약점입니다. 해커가 사용자의 로그인 과정을 가로채서 엉뚱한 웹사이트로 이동하게 만들 수 있습니다.

🇺🇸 원문 (English)

Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.1, it is possible to redirect a user to another origin if the "proceed_to" value in the session store is set to a protocol-relative URL. Normally the value of this URL is only written and read by the library or the calling application. However, it may be possible to set this session value from a malicious site with a form submission. Any Rails applications using the google_sign_in gem may be vulnerable, if this vector can be chained with another attack that is able to modify the OAuth2 request parameters. This issue has been patched in version 1.3.1. There are no workarounds.

📍 영향받는 시스템

google_sign_in gem version < 1.3.1

⚔️ 공격 벡터

악성 사이트의 폼 제출을 통한 세션 값 조작 및 OAuth2 파라미터 변조 연계 공격

🛡️ 대응 방법

google_sign_in 젬을 최신 버전인 1.3.1 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 1.3.1 미만인지 확인하십시오.

Shell / Script
bundle info google_sign_in 2>/dev/null | grep -E 'version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Ruby on Rails