Memos Access Tokens Stay Valid after User Password Change
Description
Memos is a privacy-first, lightweight note-taking service that uses Access Tokens to authenticate application access. When a user changes their password, the existing list of Access Tokens stay valid instead of expiring. If a user finds that their account has been compromised, they can update their password. In versions up to and including 0.18.1, though, the bad actor will still have access to their account because the bad actor's Access Token stays on the list as a valid token. The user will have to manually delete the bad actor's Access Token to secure their account. The list of Access Tokens has a generic Description which makes it hard to pinpoint a bad actor in a list of Access Tokens. A known patched version of Memos isn't available. To improve Memos security, all Access Tokens will need to be revoked when a user changes their password. This removes the session for all the user's devices and prompts the user to log in again. One can treat the old Access Tokens as "invalid" because those Access Tokens were created with the older password.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/usememos/memosGo | < 0.18.2 | 0.18.2 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-mr34-8733-grr2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-21635ghsaADVISORY
- owasp.org/Top10/A07_2021-Identification_and_Authentication_FailuresghsaWEB
- github.com/usememos/memos/releases/tag/v0.18.2ghsaWEB
- github.com/usememos/memos/security/advisories/GHSA-mr34-8733-grr2ghsax_refsource_CONFIRMWEB
- owasp.org/Top10/A04_2021-Insecure_DesignghsaWEB
News mentions
0No linked articles in our index yet.