Skip to content
Info disclosure Disclosed report Beginner CVE-2022-31120

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.

rtod Follow

Originally disclosed on HackerOne

  • 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

  1. Enable the audit log
  2. Share a file to a federated user
  3. So far all looks good in the log
  4. the recipient checks either accepts or declines the share
  5. 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.

The original report as published on HackerOne, by rtod. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Enable the audit log
  2. Share a file to a federated user
  3. The recipient accepts or declines the share
  4. 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.

More by rtod

View all

33 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.