🇰🇷 한글 설명
Node.js 기반 CMS인 Ghost의 4.0.0에서 4.9.4 버전 사이의 limits 서비스 구현 오류로 인해 발생합니다. 인증된 모든 사용자(기여자 포함)가 통합 API 엔드포인트를 통해 관리자 수준의 API 키를 조회할 수 있어 권한 상승이 가능합니다.
💡 쉬운 설명
일반 사용자 권한을 가진 사람이 관리자만 볼 수 있는 비밀 열쇠(API 키)를 훔쳐볼 수 있는 보안 결함입니다. 이를 통해 일반 사용자가 관리자처럼 시스템을 조작할 위험이 있습니다.
🇺🇸 원문 (English)
Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.
📍 영향받는 시스템
Ghost CMS version 4.0.0 to 4.9.4
⚔️ 공격 벡터
인증된 사용자가 통합(integrations) API 엔드포인트에 접근하여 관리자 API 키를 탈취
🛡️ 대응 방법
Ghost를 4.10.0 버전 이상으로 업데이트하고, 업데이트 후 모든 API 키를 재발급하십시오.
🔧 검증 코드
명령어 결과에 Ghost 버전이 4.0.0에서 4.9.4 사이로 출력되면 취약한 버전이 설치된 상태입니다.
npm list -g ghost --depth=0 | grep -E 'ghost@([0-4]\.[0-9]\.[0-9]|4\.9\.[0-5])'