Lucene search

K
huntr1d84EE48A1E-6332-4D95-A360-9C392643C533
HistoryDec 26, 2022 - 6:56 a.m.

Unauthorized Attacker Can Change Visibility Status of Victim's Memos

2022-12-2606:56:03
1d8
www.huntr.dev
4
attacker unauthorized access
memo visibility change
api vulnerability
privacy breach
reproduction steps
bug bounty

0.001 Low

EPSS

Percentile

29.1%

An attacker can make a private memo into a public memo in order to view it. All the attacker needs to know is the memo ID and they can make a PATCH request to /api/memo/<memo ID> with the following request data:

{"id":<MEMO ID>,"visibility":"PUBLIC","resourceIdList":[]}

Then the attacker can visit the memo URL & view the memo data of the victim. The memo URL format is similar to this: https://demo.usememos.com/m/<MEMO ID>.

Reproduction Steps

1. Create two accounts: testdemouser1 & testdemouser2
2. On testdemouser1, create a private memo
3. From the testdemouser2 account, make a PATCH request to the `/api/memo<memo ID>` endpoint with the request data mentioned earlier, filling out the appropriate memo ID parameters
4. Then from testdemouser2, access the memo. You should now be able to access the memo which was meant to be private.

0.001 Low

EPSS

Percentile

29.1%

Related for 4EE48A1E-6332-4D95-A360-9C392643C533