🇰🇷 한글 설명
Statamic 5.3.0~5.6.1 버전에서 user:register_form 태그를 사용할 때 비밀번호 확인값이 평문으로 사용자 YAML 파일에 저장되는 취약점입니다. 파일 기반 사용자 관리를 사용하고 해당 기간에 가입한 사용자에게만 영향을 미칩니다. 5.6.2 버전으로 업그레이드하고 영향받은 사용자의 비밀번호를 재설정해야 합니다.
💡 쉬운 설명
Statamic CMS의 특정 버전에서 회원가입할 때 비밀번호 확인값이 평문으로 저장됩니다. 개발자나 파일에 접근할 수 있는 관리자가 이 평문 비밀번호를 읽을 수 있습니다.
🇺🇸 원문 (English)
Statamic is a, Laravel + Git powered CMS designed for building websites. In affected versions users registering via the `user:register_form` tag will have their password confirmation stored in plain text in their user file. This only affects sites matching **all** of the following conditions: 1. Running Statamic versions between 5.3.0 and 5.6.1. (This version range represents only one calendar week), 2. Using the `user:register_form` tag. 3. Using file-based user accounts. (Does not affect users stored in a database.), 4. Has users that have registered during that time period. (Existing users are not affected.). Additionally passwords are only visible to users that have access to read user yaml files, typically developers of the application itself. This issue has been patched in version 5.6.2, however any users registered during that time period and using the affected version range will still have the the `password_confirmation` value in their yaml files. We recommend that affected users have their password reset. System administrators are advised to upgrade their deployments. There are no known workarounds for this vulnerability. Anyone who commits their files to a public git repo, may consider clearing the sensitive data from the git history as it is likely that passwords were uploaded.
📍 영향받는 시스템
Statamic 5.3.0 ~ 5.6.1 (파일 기반 사용자 계정 + user:register_form 태그 사용)
⚔️ 공격 벡터
사용자 YAML 파일에 접근 가능한 내부자(개발자/관리자)가 평문 저장된 password_confirmation 값 획득
🛡️ 대응 방법
Statamic을 5.6.2 이상으로 업그레이드하고 취약 기간(2024년)에 가입한 모든 사용자의 비밀번호 강제 재설정
🔧 검증 코드
출력된 버전이 5.3.0 이상 5.6.1 이하면 취약하며, 5.6.2 이상이면 패치됨
composer show statamic/cms 2>/dev/null | grep Version || grep -r 'version' config/statamic.php 2>/dev/null | head -1