🇰🇷 한글 설명
Scoold 1.67.0 미만 버전에서 관리자 설정값이 위조된 Bearer 토큰을 통해 수정될 수 있는 취약점이 발견되었습니다. 공격자가 자신의 이메일을 관리자 목록에 추가한 뒤 시스템을 재시작하면, 해당 계정은 관리자 권한을 획득하여 지속적인 접근 권한을 갖게 됩니다.
💡 쉬운 설명
해커가 가짜 열쇠를 이용해 관리자 명단에 자신의 이메일을 몰래 끼워 넣을 수 있는 문제입니다. 시스템이 한 번 꺼졌다 켜지면 해커는 마치 원래 관리자였던 것처럼 모든 권한을 갖게 됩니다.
🇺🇸 원문 (English)
Scoold is a Q&A and a knowledge sharing platform for teams. Prior to version 1.67.0, Scoold allows the admins configuration value to be modified through /api/config/set/admins with a forged Bearer token that is accepted as an admin API token. Once that setting is changed, the target email address is written to the application configuration file. The change does not become active immediately in the current process, because the ADMINS set is loaded once at startup. After a Scoold restart, though, the selected user is recognized as an administrator and gains access to the admin panel. This issue gives an attacker a reliable persistence path: write their own email into scoold.admins, wait for a restart or trigger one operationally, and the account comes back as admin. This issue has been patched in version 1.67.0.
📍 영향받는 시스템
Scoold version < 1.67.0
⚔️ 공격 벡터
/api/config/set/admins 엔드포인트에 위조된 Bearer 토큰을 사용하여 관리자 설정 변경
🛡️ 대응 방법
Scoold를 최신 보안 패치가 적용된 버전 1.67.0 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 1.67.0 이상의 버전 번호가 출력되면 취약점이 해결된 상태입니다.
curl -s http://<target_ip>/api/version | grep -E '1.67.0'