Mathesar: Missing collaborator checks allowed access to saved explorations in other databases
Mathesar is a web application that makes working with PostgreSQL databases both simple and powerful. From 0.2.0 to before 0.10.0, explorations.get, explorations.replace, and explorations.delete operate on an exploration_id without verifying that the requesting user was a collaborator on the exploration’s database. An authenticated user on the same Mathesar installation who knew or guessed an exploration ID could read, replace, or delete a saved exploration belonging to a database where they were not a collaborator. This affected Mathesar-managed saved exploration definitions, including names, descriptions, selected columns, display metadata, filters, sorting, and transformations. This vulnerability is fixed in 0.10.0.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-639 | CWE-639: Authorization Bypass Through User-Controlled Key |
| CWE | CWE-862 | CWE-862: Missing Authorization |
Type: CWE
Description: CWE-639: Authorization Bypass Through User-Controlled Key
Type: CWE
Description: CWE-862: Missing Authorization
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 4.0 | 5.3 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
Version: 4.0
Base score: 5.3
Base severity: MEDIUM
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N