Description
Element Web and Element Desktop before 1.12.32 accept guest credentials from URL fragment parameters in loadSession, allowing remote unauthenticated attackers to log out users and clear local stores. Attackers can lure logged-in users into opening links with guest_user_id and guest_access_token to force an attacker-controlled guest session and destroy unbacked end-to-end encryption keys.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
element-hq element-web
Default version status: unaffected
0 to < 1.12.32affected1.12.32unaffected
element-hq element-desktop
Default version status: unaffected
0 to < 1.12.32affected1.12.32unaffected
References
- https://github.com/element-hq/element-web/security/advisories/GHSA-c88w-7h6p-27xr ↗
- https://github.com/element-hq/element-web/commit/792453c88a399d570599f5d73b08b40157cd80c0 ↗
- https://github.com/element-hq/element-web/blob/v1.12.31/apps/web/src/Lifecycle.ts#L188 ↗
- https://github.com/element-hq/element-web/releases/tag/v1.12.32 ↗
- https://abraxaslabs.tech/research/element-fragment-guest ↗
- https://github.com/element-hq/element-web ↗
- https://www.vulncheck.com/advisories/element-web-and-element-desktop-before-1.12.32-forced-logout-via-guest-credential-url-parameters ↗