🔍 CVE-2026-30964

5.4
CVSS Score
MEDIUM
2026-03-10
2026-05-07 18:35
✅ 완료

🇰🇷 한글 설명

web-auth/webauthn-lib의 allowed_origins 검증에서 URL의 호스트 부분만 비교하고 스킴과 포트를 무시하는 문제로, 공격자가 다른 포트나 프로토콜을 통해 CORS 검증을 우회할 수 있습니다. 이는 정확한 오리진 정책을 불가능하게 만듭니다. 5.2.4 버전에서 수정되었습니다.

💡 쉬운 설명

웹 로그인 시 올바른 웹사이트인지 확인하는 기능에 결함이 있어서, 공격자가 다른 포트나 프로토콜로 위장하면 검증을 우회할 수 있습니다. 이를 통해 인증 메커니즘이 손상될 수 있습니다.

🇺🇸 원문 (English)

web-auth/webauthn-lib is an open source set of PHP libraries and a Symfony bundle to allow developers to integrate that authentication mechanism into their web applications. Prior to 5.2.4, when allowed_origins is configured, CheckAllowedOrigins reduces URL-like values to their host component and accepts on host match alone. This makes exact origin policies impossible to express: scheme and port differences are silently ignored. This vulnerability is fixed in 5.2.4.

📍 영향받는 시스템

web-auth/webauthn-lib < 5.2.4 (모든 버전)

⚔️ 공격 벡터

http://example.com:8080 또는 다른 스킴의 오리진으로 인증 요청을 조작하여 호스트만 일치하면 검증을 통과

🛡️ 대응 방법

web-auth/webauthn-lib을 5.2.4 이상으로 업그레이드 (composer update web-auth/webauthn-lib)

🔧 검증 코드

표시된 버전이 5.2.4 이상이면 안전하고, 5.2.4 미만이면 즉시 업그레이드 필요합니다.

Shell / Script
grep -A 1 '"web-auth/webauthn-lib"' composer.lock | grep -oP '"version": "\K[^"]+' || composer show web-auth/webauthn-lib 2>/dev/null | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP