| 제목 | 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. AM 07:52 (30 날 ago) |
|---|
| 모더레이션 | 2026. 05. 31. AM 10:14 (23 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 359744 [mettle sendportal 까지 3.0.1 Invitation WorkspaceInvitationsController.php destroy invitation 권한 상승] |
|---|
| 포인트들 | 0 |
|---|