Notes app can be tricked into using a received share created before the user logged in
The Notes app could be tricked into using a received share that was created before the user logged in, allowing an attacker to access and modify other users' notes.
- Triaged in 8 hours
- Fixed in 5 months
- Paid in 5 months
- Disclosed after 7 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wfqv-cx85-7rjx
Summary by the researcher
Summary: This vulnerability allowed attackers to access and modify other users' notes by tricking "Notes App" into using a received share created before the user logged in.
CVE ID: CVE-2024-37317
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 app accepted a received share that was created before the user logged in, without re-checking that the share belonged to the logged-in user.
Impact
An attacker could access and modify other users' notes.
What the attacker needed
A received share exists that was created before the victim…
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.
A share lets someone else access your note. The app could be tricked into using a share made before the user logged in, so an attacker could read or change notes that were not theirs.
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.