🔍 CVE-2026-12740

8.1
CVSS Score
HIGH
2026-07-04
2026-10-25 15:10
✅ 완료

🇰🇷 한글 설명

Perl용 Plack::Middleware::OAuth 0.10 이하 버전에서 OAuth 2.0 state 파라미터를 지원하지 않는 취약점이 발견되었습니다. 이로 인해 인증 콜백이 세션과 결합되지 않아 로그인 Cross-Site Request Forgery(CSRF) 공격에 노출될 수 있습니다.

💡 쉬운 설명

로그인 과정에서 본인이 요청한 것이 맞는지 확인하는 '인증 번호'가 누락되어 발생하는 문제입니다. 공격자가 자신의 계정 정보를 피해자의 로그인 세션에 강제로 연결하여 계정 권한을 탈취할 수 있습니다.

🇺🇸 원문 (English)

Plack::Middleware::OAuth versions through 0.10 for Perl do not support the OAuth 2.0 state parameter. RequestTokenV2 builds the provider authorization redirect without issuing a state value, and AccessTokenV2 exchanges the callback code and registers the resulting token into the session (register_session) without verifying that the callback corresponds to an authorization request this session initiated. Any application that uses this middleware for OAuth 2.0 login is exposed to login cross-site request forgery: because the callback is not bound to the session that began the flow, an attacker who starts an authorization with their own provider account can deliver the resulting callback to a victim, causing the victim's session to complete the attacker's authorization and associating the attacker's provider identity and access token with that session. Where the application persists this as an account link, the attacker may retain access to the victim's account through their own provider credentials.

📍 영향받는 시스템

Plack::Middleware::OAuth versions through 0.10 (Perl)

⚔️ 공격 벡터

공격자가 자신의 인증 콜백을 피해자에게 전달하여 피해자의 세션에 공격자의 계정을 연결하는 CSRF 공격

🛡️ 대응 방법

Plack::Middleware::OAuth를 state 파라미터를 지원하는 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 0.10 이하이면 취약한 상태입니다.

Shell / Script
perl -MPlack::Middleware::OAuth -e 'print $Plack::Middleware::OAuth::VERSION . "\n"'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access