Federated share accepting/declining is not logged in audit log
The audit log did not record when a recipient of a federated share accepted or declined it, leaving the trail incomplete. An attacker or administrator relying on the log could miss these actions, though the text does not claim a direct exploit.
- Triaged in 19 hours
- Fixed in 12 months
- Disclosed after 16 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9qvg-7fwg-722x
The report
In relation to https://hackerone.com/reports/1177353
- Enable the audit log
- Share a file to a federated user
- So far all looks good in the log
- the recipient checks either accepts or declines the share
- There is no line regarding this in the logs.
Impact
The audit log is used to get a full trail of the actions which is now incompletely. With possible important information. It seems to be also listed on https://portal.nextcloud.com/article/using-the-audit-log-44.html From my point of view a declined share is unshared again.
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 code handling federated share acceptance or decline did not write an entry to the audit log.
Impact
The audit log could be incomplete, missing important information about federated share actions.
What the attacker needed
Audit log enabled; federated sharing configured
How it was found
- Enable the audit log
- Share a file to a federated user
- The recipient accepts or declines the share
- Check the audit log for a record of the action
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 audit log is a record of actions taken in a system, used to review what happened. Here, when someone shared a file with a user on another server and that user accepted or declined, the log did not show it. This means the record of activity was incomplete.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.