CVE-2023-50713
Speckle Server Token Write Scope Privilege Escalation Vulnerability
Description
Speckle Server provides server, frontend, 3D viewer, and other JavaScript utilities for the Speckle 3D data platform. A vulnerability in versions prior to 2.17.6 affects users who: authorized an application which requested a 'token write' scope or, using frontend-2, created a Personal Access Token (PAT) with `token write` scope. When creating a new token an agent needs to authorise the request with an existing token (the 'requesting token'). The requesting token is required to have token write scope in order to generate new tokens. However, Speckle server was not verifying that other privileges granted to the new token were not in excess of the privileges of the requesting token. A malicious actor could use a token with only token write scope to subsequently generate further tokens with additional privileges. These privileges would only grant privileges up to the existing privileges of the user. This vulnerability cannot be used to escalate a user's privileges or grant privileges on behalf of other users. This has been patched as of version 2.17.6. All operators of Speckle servers should upgrade their server to version 2.17.6 or higher. Any users who authorized an application with 'token write' scope, or created a token in frontend-2 with `token write` scope should review existing tokens and permanently revoke any they do not recognize, revoke existing tokens and create new tokens, and review usage of their account for suspicious activity. No known workarounds for this issue exist.
INFO
Published Date :
Dec. 14, 2023, 7:15 p.m.
Last Modified :
Nov. 21, 2024, 8:37 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.7
Exploitability Score :
1.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-50713
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-50713
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-50713
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/specklesystems/speckle-server/commit/3689e1cd58ec4f06abee836af34889d6ce474571 Added Reference https://github.com/specklesystems/speckle-server/releases/tag/2.17.6 Added Reference https://github.com/specklesystems/speckle-server/security/advisories/GHSA-xpf3-5q5x-3qwh -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Dec. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Changed Reference Type https://github.com/specklesystems/speckle-server/commit/3689e1cd58ec4f06abee836af34889d6ce474571 No Types Assigned https://github.com/specklesystems/speckle-server/commit/3689e1cd58ec4f06abee836af34889d6ce474571 Patch Changed Reference Type https://github.com/specklesystems/speckle-server/releases/tag/2.17.6 No Types Assigned https://github.com/specklesystems/speckle-server/releases/tag/2.17.6 Release Notes Changed Reference Type https://github.com/specklesystems/speckle-server/security/advisories/GHSA-xpf3-5q5x-3qwh No Types Assigned https://github.com/specklesystems/speckle-server/security/advisories/GHSA-xpf3-5q5x-3qwh Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:specklesystems:speckle_server:*:*:*:*:*:*:*:* versions up to (excluding) 2.17.6 -
CVE Received by [email protected]
Dec. 14, 2023
Action Type Old Value New Value Added Description Speckle Server provides server, frontend, 3D viewer, and other JavaScript utilities for the Speckle 3D data platform. A vulnerability in versions prior to 2.17.6 affects users who: authorized an application which requested a 'token write' scope or, using frontend-2, created a Personal Access Token (PAT) with `token write` scope. When creating a new token an agent needs to authorise the request with an existing token (the 'requesting token'). The requesting token is required to have token write scope in order to generate new tokens. However, Speckle server was not verifying that other privileges granted to the new token were not in excess of the privileges of the requesting token. A malicious actor could use a token with only token write scope to subsequently generate further tokens with additional privileges. These privileges would only grant privileges up to the existing privileges of the user. This vulnerability cannot be used to escalate a user's privileges or grant privileges on behalf of other users. This has been patched as of version 2.17.6. All operators of Speckle servers should upgrade their server to version 2.17.6 or higher. Any users who authorized an application with 'token write' scope, or created a token in frontend-2 with `token write` scope should review existing tokens and permanently revoke any they do not recognize, revoke existing tokens and create new tokens, and review usage of their account for suspicious activity. No known workarounds for this issue exist. Added Reference GitHub, Inc. https://github.com/specklesystems/speckle-server/security/advisories/GHSA-xpf3-5q5x-3qwh [No types assigned] Added Reference GitHub, Inc. https://github.com/specklesystems/speckle-server/commit/3689e1cd58ec4f06abee836af34889d6ce474571 [No types assigned] Added Reference GitHub, Inc. https://github.com/specklesystems/speckle-server/releases/tag/2.17.6 [No types assigned] Added CWE GitHub, Inc. CWE-1220 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-50713
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-50713
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} 0.03%
score
0.32421
percentile