| タイトル | Mettle sendportal v3.0.1 Improper Access Controls |
|---|
| 説明 | The destroy() method in WorkspaceInvitationsController allows any workspace owner to delete invitations belonging to any other workspace (IDOR - CWE-639).
Vulnerability Details
File: app/Http/Controllers/Workspaces/WorkspaceInvitationsController.php, lines 42-47
public function destroy(Invitation $invitation): RedirectResponse
{
$invitation->delete(); // No workspace ownership check
return redirect()->route('users.index');
}
The route group at routes/web.php line 59 applies OwnsCurrentWorkspace::class middleware, which verifies the user owns their current workspace — but does NOT verify the {invitation} parameter belongs to that workspace. Laravel route model binding resolves ANY invitation by ID. |
|---|
| ソース | ⚠️ https://github.com/mettle/sendportal/issues/337 |
|---|
| ユーザー | B1scuit (UID 97177) |
|---|
| 送信 | 2026年05月08日 07:52 (1 月 ago) |
|---|
| モデレーション | 2026年05月31日 10:14 (23 days later) |
|---|
| ステータス | 重複 |
|---|
| VulDBエントリ | 359744 [mettle sendportal 迄 3.0.1 Invitation WorkspaceInvitationsController.php destroy invitation 特権昇格] |
|---|
| ポイント | 0 |
|---|