Registration bypass with leaked Invite Token
该报告还没有中文解读。
原文摘录
摘自原文(2489 字符中的一小部分)
Regular expressions in the `validateInviteToken` route allows unauthenticated users to guess a valid invite token, that allows them to access a private channel or register accounts on a remote server with "Secret URL" registration method enabled.
原文中的代码
API.v1.addRoute('validateInviteToken', { authRequired: false }, {
post() {
const { token } = this.bodyParams;
if (!token) {
throw new Meteor.Error('error-invalid-token', 'The invite token is invalid.', { method: 'validateInviteToken', field: 'token' });
}
let valid = true;
try { …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Rocket.Chat 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @gronke · 版权归作者与 Rocket.Chat 所有