🇰🇷 한글 설명
MCP Context Forge의 1.0.2 미만 버전에서 알려진 JWT_SECRET_KEY가 노출되어 발생하는 취약점입니다. 공격자는 이 키를 사용하여 인증되지 않은 상태로 관리자 권한을 가진 토큰을 위조할 수 있으며, 이를 통해 시스템의 정보 노출, 수정 및 서비스 중단을 초래할 수 있습니다.
💡 쉬운 설명
시스템의 비밀번호와 같은 중요한 열쇠가 공개되어 있어, 누구나 가짜 관리자 신분증을 만들어 접속할 수 있는 상태입니다. 이를 통해 해커가 관리자 권한을 탈취하여 시스템을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
MCP Context Forge is an MCP gateway and administrative platform. Prior to 1.0.2, mcpgateway/config.py and .env.example ship a known JWT_SECRET_KEY, while verify_jwt_token() accepts HS256 tokens signed with that key and get_current_user() creates a platform administrator when the token subject matches PLATFORM_ADMIN_EMAIL and REQUIRE_USER_IN_DB is false. A remote unauthenticated attacker can therefore mint accepted administrator tokens without a database account. While the vulnerable signing key remains configured and the platform-admin bootstrap remains enabled, forged access survives password rotation, account deletion, and session revocation, allowing administrative disclosure, modification, and service disruption. This issue is fixed in version 1.0.2.
📍 영향받는 시스템
MCP Context Forge version < 1.0.2
⚔️ 공격 벡터
노출된 JWT 비밀키를 이용한 관리자 권한 토큰 위조 및 원격 인증 우회
🛡️ 대응 방법
MCP Context Forge를 최신 버전인 1.0.2 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
설정 파일에 기본 비밀키가 포함되어 있거나 버전이 1.0.2 미만인 경우 취약합니다.
python3 -c "import os; print('Vulnerable' if 'JWT_SECRET_KEY' in open('.env', 'r').read() else 'Safe')" 2>/dev/null || echo 'Check version manually'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access