GHSA-6hgr-2g6q-3rmc Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19
Attackers can access protected endpoints after logout due to session invalidation failure when using Spring Security CSRF protection.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-6hgr-2g6q-3rmc?
GHSA-6hgr-2g6q-3rmc is an authentication bypass vulnerability in com.vaadin:flow-client, published on 22 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out.
Which versions are affected by GHSA-6hgr-2g6q-3rmc?
2 open source packages ship an affected version, including com.vaadin:flow-client.
| Package | Affected | Fixed in |
|---|---|---|
com.vaadin:flow-client Maven | From 5.0.0 | 6.0.5 |
com.vaadin:flow-client Maven | From 5.0.0 | 6.0.5 |
How do I fix GHSA-6hgr-2g6q-3rmc?
Upgrade com.vaadin:flow-client to 6.0.5 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-6hgr-2g6q-3rmc being exploited?
There is no known exploitation of GHSA-6hgr-2g6q-3rmc in the wild and no public exploit code.