Description
Databasement before 1.7.14 validates invitation tokens only when the acceptance page loads, caching the authorization decision without re-checking token validity during acceptance. Attackers with a leaked or forwarded invitation link can load the page while pending, then accept the invitation after the legitimate user has already accepted it to overwrite the account password and gain authenticated access to managed database credentials and secrets.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| David-Crty | Databasement | < 1.7.14 | 1.7.14 |
References
- Patch Commit patch
- https://github.com/David-Crty/databasement/blob/v1.7.13/app/Livewire/Auth/AcceptInvitation.php#L30 technical-description
- https://github.com/David-Crty/databasement/blob/v1.7.13/app/Livewire/Auth/AcceptInvitation.php#L45 technical-description
- Databasement v1.7.14 Release Notes release-notes
- https://github.com/David-Crty/databasement product
- VulnCheck Advisory: Databasement before 1.7.14 Authorization Bypass via Stale Invitation Token third-party-advisory