Partial Account Takeover due to Insecure Data Querying in infiniflow/ragflow
A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data querying. The issue arises from the way tenant IDs are handled in the application. If a user has access to multiple tenants, they can manipulate their tenant access to query and access API tokens of other tenants. This vulnerability affects the following endpoints: /v1/system/token_list, /v1/system/new_token, /v1/api/token_list, /v1/api/new_token, and /v1/api/rm. An attacker can exploit this to access other tenants' API tokens, perform actions on behalf of other tenants, and access their data.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-639 | CWE-639 Authorization Bypass Through User-Controlled Key |
Type: CWE
Description: CWE-639 Authorization Bypass Through User-Controlled Key
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.0 | 8.1 | HIGH | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Version: 3.0
Base score: 8.1
Base severity: HIGH
Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H