Skip to content

Permission scopes not checked correctly when querying key and translation data

Low
JanCizmar published GHSA-r95p-fqqv-fppc Apr 18, 2024

Package

docker tolgee/tolgee (Docker)

Affected versions

< 3.57.2

Patched versions

3.57.2

Description

Impact

For endpoints

  • GET /v2/projects/translations
  • GET /v2/projects/{projectId}/translations

Translation data were returned even when the API key was missing the translation.view scope.

However, it was impossible to fetch the data when the user was missing these scopes. So this is only relevant for API keys generated by users permitted to translation.view or keys.view.

Information about keys was returned even when keys.view scope was for API key or for the user entirely. However, to retrieve such data, the user needed to have at least some project permission.

Patches

Fixed in v3.57.2

Severity

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2024-32466

Weaknesses

No CWEs