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

Exception logging in Sharepoint app reveals clear-text connection details

When an exception occurs in the SharePoint app, connection credentials can be written to the Nextcloud log in clear text. An attacker who obtains the log could learn the credentials used to connect to a SharePoint service.

kichernde_erbse Follow

Originally disclosed on HackerOne

Medium 4.0 View original
  • Triaged in 16 hours
  • Fixed in 35 days
  • Disclosed after 4 months

Summary by the program

Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpf5-jj85-36h5

The report

Summary:

On Exceptions thrown in the context of the SharePoint app, connection credentials may be written to the Nextcloud log in clear text.

Steps To Reproduce:

Attempt to configure a sharepoint mount in an erroneous way.

Supporting Material/References:

Impact

When an attacker gets hold of the nextcloud log, they may gain knowledge of credentials to connect to a SharePoint service.

The original report as published on HackerOne, by kichernde_erbse. 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 exception handling logs the full connection details, including credentials, without redacting them.

Impact

An attacker who gets hold of the Nextcloud log may gain knowledge of credentials to connect to a SharePoint service.

What the attacker needed

Access to the Nextcloud log; SharePoint app configured with credentials

How it was found

  1. Attempt to configure a SharePoint mount in an erroneous way.

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.

When something goes wrong in the SharePoint app, the error saved to the log may include the connection credentials in readable form. Anyone who can read that log could then use them to access the SharePoint service.

What is Info disclosure?

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

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.