Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1jZmhoLXhnd3EtNXI2N80ylA

Sudden swap of user auth tokens in Volto

Impact

Due to the usage of an outdated version of the react-cookie library, under the circumstances of given a server high load, it is possible that a user could get his/her auth cookie replaced with the auth cookie from another user, effectively giving him full access to the other users account and privileges. A proven exploit for this vulnerability does not exist, since the exact requisites for it to happen have not been fully clarified, and the attempts to reproduce it under testing conditions have been unsuccessful, but it still can happen randomly and unintentionally in the wild.

Patches

The patch and fix is present in Volto 15.0.0-alpha.0 (or later). See PR: https://github.com/plone/volto/pull/3051.
We recommend upgrading to the final release of Volto 15 as soon as possible if running an affected version.
See the upgrade guide https://6-dev-docs.plone.org/volto/upgrade-guide/index.html#upgrading-to-volto-15-x-x

Workarounds

It is possible to create a fix by manually upgrading the react-cookie package to 4.1.1 and then overriding all Volto components that use this library as in https://github.com/plone/volto/pull/3051. As this is substantial work, an update to the Volto 15 is recommended. The upgrade steps for going from Volto 14 to Volto 15 are quite easy and do not involve any complexity. Please take a look at the upgrade guide: https://6-dev-docs.plone.org/volto/upgrade-guide/index.html#upgrading-to-volto-15-x-x

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-cfhh-xgwq-5r67
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jZmhoLXhnd3EtNXI2N80ylA
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: over 1 year ago


CVSS Score: 5.0
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Identifiers: GHSA-cfhh-xgwq-5r67, CVE-2022-24740
References: Repository: https://github.com/plone/volto
Blast Radius: 8.5

Affected Packages

npm:@plone/volto
Dependent packages: 4
Dependent repositories: 49
Downloads: 6,539 last month
Affected Version Ranges: >= 14.0.0-alpha.6, <= 14.10.0
Fixed in: 15.0.0-alpha.0
All affected versions: 14.0.0, 14.0.0-alpha.6, 14.0.0-alpha.7, 14.0.0-alpha.8, 14.0.0-alpha.9, 14.0.0-alpha.10, 14.0.0-alpha.11, 14.0.0-alpha.12, 14.0.0-alpha.13, 14.0.0-alpha.14, 14.0.0-alpha.15, 14.0.0-alpha.16, 14.0.0-alpha.17, 14.0.0-alpha.18, 14.0.0-alpha.19, 14.0.0-alpha.20, 14.0.0-alpha.21, 14.0.0-alpha.22, 14.0.0-alpha.23, 14.0.0-alpha.24, 14.0.0-alpha.25, 14.0.0-alpha.26, 14.0.0-alpha.27, 14.0.0-alpha.28, 14.0.0-alpha.29, 14.0.0-alpha.30, 14.0.0-alpha.31, 14.0.0-alpha.32, 14.0.0-alpha.33, 14.0.0-alpha.34, 14.0.0-alpha.35, 14.0.0-alpha.36, 14.0.0-alpha.37, 14.0.0-alpha.38, 14.0.0-alpha.39, 14.0.0-alpha.40, 14.0.0-alpha.41, 14.0.0-alpha.42, 14.0.0-alpha.43, 14.0.1, 14.0.2, 14.1.0, 14.1.1, 14.2.0, 14.2.1, 14.2.2, 14.2.3, 14.3.0, 14.4.0, 14.5.0, 14.6.0, 14.7.0, 14.7.1, 14.8.0, 14.8.1, 14.9.0, 14.10.0
All unaffected versions: 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.10.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 5.0.0, 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8.3, 13.9.0, 13.10.0, 13.11.0, 13.12.0, 13.13.0, 13.14.0, 13.15.0, 13.15.1, 15.0.0, 15.1.0, 15.1.1, 15.1.2, 15.2.0, 15.2.1, 15.2.2, 15.2.3, 15.3.0, 15.4.0, 15.4.1, 15.5.0, 15.6.0, 15.6.1, 15.7.0, 15.8.0, 15.8.1, 15.9.0, 15.10.0, 15.10.1, 15.11.0, 15.11.1, 15.11.2, 15.12.0, 15.12.1, 15.12.2, 15.13.0, 15.14.0, 15.15.0, 15.16.0, 16.0.0, 16.1.0, 16.2.0, 16.3.0, 16.4.0, 16.4.1, 16.5.0, 16.6.0, 16.7.0, 16.8.0, 16.8.1, 16.9.0, 16.10.0, 16.11.0, 16.12.0, 16.13.0, 16.14.0, 16.15.0, 16.16.0, 16.17.0, 16.17.1, 16.18.0, 16.19.0, 16.20.0, 16.20.1, 16.20.2, 16.20.3, 16.20.4, 16.20.5, 16.20.6, 16.20.7, 16.20.8, 16.21.0, 16.21.1, 16.21.2, 16.21.3, 16.22.0, 16.22.1, 16.22.2, 16.23.0, 16.24.0, 16.25.0, 16.26.0, 16.26.1, 16.27.0, 16.28.0, 16.28.1, 16.29.0, 16.30.0, 16.30.1, 16.30.2, 16.30.3, 16.31.0, 16.31.1, 16.31.2, 16.31.3, 16.31.4, 16.31.5, 16.31.6, 17.0.0, 17.0.1, 17.1.0, 17.1.1, 17.2.0, 17.3.0, 17.4.0, 17.5.0, 17.6.0, 17.6.1, 17.7.0, 17.8.0, 17.9.0, 17.10.0, 17.11.0, 17.11.1, 17.11.2, 17.11.3, 17.11.4, 17.11.5, 17.12.0, 17.12.1, 17.13.0, 17.14.0, 17.15.0, 17.15.1, 17.15.2, 17.15.3, 17.15.4, 17.15.5, 17.15.6