🇰🇷 한글 설명
Wiki.js 2.5.303 버전에서 비활성화된 사용자가 비밀번호 재설정 기능을 악용하여 계정 제한을 우회할 수 있는 취약점입니다. 공격자는 비활성화된 계정의 비밀번호를 재설정한 후 위키에 접근 가능하며, 이는 관리자의 계정 비활성화 보안 조치를 완전히 무효화합니다.
💡 쉬운 설명
Wiki.js에서 관리자가 차단한 계정도 비밀번호 재설정을 통해 다시 접근할 수 있는 문제입니다. 계정 차단이 작동하지 않아 보안이 무너집니다.
🇺🇸 원문 (English)
Wiki.js is an open source wiki app built on Node.js. A disabled user can still gain access to a wiki by abusing the password reset function. While setting up SMTP e-mail's on my server, I tested said e-mails by performing a password reset with my test user. To my shock, not only did it let me reset my password, but after resetting my password I can get into the wiki I was locked out of. The ramifications of this bug is a user can **bypass an account disabling by requesting their password be reset**. All users of wiki.js version `2.5.303` who use any account restrictions and have disabled user are affected. This issue has been addressed in version 2.5.304 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
📍 영향받는 시스템
Wiki.js version 2.5.303
⚔️ 공격 벡터
Password reset function abuse to bypass disabled user account restrictions
🛡️ 대응 방법
Upgrade Wiki.js to version 2.5.304 or later immediately
🔧 검증 코드
wiki.js@ 뒤의 버전 번호가 2.5.304 이상이면 패치됨, 2.5.303 이하면 취약함
npm ls wiki.js 2>/dev/null | grep -E 'wiki.js@'