Skip to content
Access control Disclosed report Beginner CVE-2022-4688

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).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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.

More from usememos/memos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.