Description
Flarum before 1.8.16 contains an improper session invalidation vulnerability that allows attackers who hold a valid session token to retain full account access after a victim changes their password, because the access_tokens table is never cleared on password change events. The TokensClearer::clearPasswordTokens() function only removes rows from the password_tokens table while leaving all active session cookies and API bearer tokens intact, including long-lived RememberAccessToken entries, and administrator-forced password resets via the user update endpoint are equally ineffective at revoking attacker-held sessions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Flarum | Flarum Framework | < 1.8.16 | 1.8.16 |
References
- Flarum Framework 1.8.16 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/flarum-session-persistence-via-improper-access-token-revocation third-party-advisory