usememos/memos vulnerable to improper authorization
Memos versions before 0.9.0 had an improper authorization flaw that let any user change other users' nickname, username and email without permission. An attacker could therefore alter other users' profile details.
usememos/memos
Originally disclosed on huntr
usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos versions prior to 0.9.0 are vulnerable to improper authorization, which can allow a user to modify the nickname, username and email of other users without permission.
From the GitHub Advisory Database (GHSA-vwg4-846x-f94v, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the profile update endpoint did not verify that the requesting user owned the account being changed.
Impact
A user could modify the nickname, username and email of other users without permission.
What the attacker needed
A user account on the Memos instance
The fix
The issue was fixed in version 0.9.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Authorization is the check that decides whether you are allowed to do something. Here that check was missing or wrong, so one user could edit another user's profile details. The text does not explain how the attack is carried out.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.