🇰🇷 한글 설명
Payload CMS의 특정 버전에서 useAPIKey 기능이 활성화된 경우, 일반적인 읽기 권한을 가진 사용자가 다른 인증 문서를 통해 활성 API 키를 탈취할 수 있는 취약점입니다. 공격자는 탈취한 키를 사용하여 해당 계정의 권한을 행사할 수 있으며, 이는 키가 교체되거나 비활성화될 때까지 지속됩니다.
💡 쉬운 설명
일반 사용자 권한을 가진 사람이 다른 사람의 비밀 열쇠(API 키)를 몰래 훔쳐볼 수 있는 보안 구멍이 발견되었습니다. 이 열쇠를 손에 넣은 해커는 마치 주인인 것처럼 시스템을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
Payload is a free and open source headless content management system. In versions from 3.0.0 before 3.90.0 and canary versions before 4.0.0-canary.34, users with ordinary read access to other authentication documents in a collection with useAPIKey enabled can obtain active API keys and exercise the target accounts' permissions until those keys are rotated or disabled. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
📍 영향받는 시스템
Payload CMS 3.0.0 미만 3.90.0 미만 버전 및 4.0.0-canary.34 미만 canary 버전
⚔️ 공격 벡터
useAPIKey가 활성화된 컬렉션 내의 인증 문서에 대한 일반 읽기 권한을 이용한 API 키 탈취
🛡️ 대응 방법
Payload CMS를 3.90.0 또는 4.0.0-canary.34 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 범위가 출력되면 업데이트가 필요한 상태입니다.
npm list payload --depth=0 | grep -E 'payload@(3\.[0-8][0-9]|4\.0\.0-canary\.[0-3][0-9])'