Limitation of app specific password scope can be bypassed (NC-SA-2017-009)
An application-specific password that was not granted file access could still be used to access the user's files because of improper session handling. An attacker with such a limited password could read files they should not be able to reach.
- Triaged in 44 hours
- Fixed in 5 months
- Paid in 4 months
- Disclosed after 5 months
Summary by the program
#Limitation of app specific password scope can be bypassed (NC-SA-2017-009)
Risk level: Low CVSS v3 Base Score: 3 (AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N) CWE: Improper Authorization (CWE-285)
#Description Improper session handling allowed an application specific password without permission to the files access to the users file.
#Affected Software
- Nextcloud Server < 11.0.3 (CVE-2017-0892)
#Action Taken The permission check has been corrected and reviewed.
#Acknowledgements The Nextcloud team thanks the following people for their research and responsible disclosure of the above advisory:
- Mmakosdel - Vulnerability discovery and disclosure.
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
What the attacker needed
An application-specific password without file permission; victim interaction (UI:R)
The fix
The permission check was corrected and reviewed; versions before 11.0.3 were affected.
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.
An application-specific password is a special password you create for one app, and you can limit what it is allowed to do. Here, a password that was not supposed to allow file access could still be used to read files because the system did not check permissions properly during the session. This means someone with that limited password could see files they should not.
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.