Cross-Workspace IDOR in Parsed Files API allows Unauthorized Deletion
概要
[!NOTE]
Triage SummaryVulnerability 1 (Cross-Workspace File Embedding) - Dismissed
This is not a valid vulnerability. Managers and admins already have unrestricted access to all workspaces by design (seeWorkspace.whereWithUser()which bypasses workspace filtering for these...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| docker | mintplexlabs/anythingllm |
<= 1.7.6 |
f2030343d7a3701d096622efaa22fc4aaadd174c |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
[!NOTE]
Triage SummaryVulnerability 1 (Cross-Workspace File Embedding) - Dismissed
This is not a valid vulnerability. Managers and admins already have unrestricted access to all workspaces by design (seeWorkspace.whereWithUser()which bypasses workspace filtering for these roles). The ability to embed a file from Workspace B while calling the API with Workspace A's slug does not constitute privilege escalation—the manager could simply navigate to Workspace B and perform the same action directly.Vulnerability 2 (Cross-Workspace File Deletion) - Confirmed with amendment
Valid IDOR bug. The delete endpoint usesROLES.all(any authenticated user) and performs no parsed file ownership check on the providedfileIds. A default-role user with access only to Workspace A can delete parsed files belonging to other users on Workspace A, but not on workspaces they are not already permitted to access by the admin/manager.Severity is reduced due to:
- Only temporary parsed files are affected, not permanent embedded documents
- No data exfiltration (deletion only, no read access)
- Impact is recoverable (users can re-upload files)
- Requires authenticated session
- Limited to other users within the same workspace or other workspaces they are permitted to access already
Summary
Two IDOR vulnerabilities in the workspace parsed files API allow authenticated users to access and manipulate files across workspace boundaries in mu…
出典: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
参照URL
- GITHUB_REPO_ADVISORY Mintplex-Labs/anything-llm