What’s Vulnerable › Vulnerabilities
CVE-2022-39364: Exception logging in Sharepoint app reveals clear-text connection details
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-10-27 · updated 2026-06-17
- Weakness: CWE-312
Description
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. In Nextcloud Server prior to versions 23.0.9 and 24.0.5 and Nextcloud Enterprise Server prior to versions 22.2.10.5, 23.0.9, and 24.0.5 an attacker reading `nextcloud.log` may gain knowledge of credentials to connect to a SharePoint service. Nextcloud Server versions 23.0.9 and 24.0.5 and Nextcloud Enterprise Server versions 22.2.10.5, 23.0.9, and 24.0.5 contain a patch for this issue. As a workaround, set `zend.exception_ignore_args = On` as an option in `php.ini`.
Affected products
- Nextcloud Enterprise Server: before 22.2.10.5; from 23.0.0 before 23.0.9; from 24.0.0 before 24.0.5 — fixed in 22.2.10.5, 23.0.9, 24.0.5
- Nextcloud Server: before 23.0.9; from 24.0.0 before 24.0.5 — fixed in 23.0.9, 24.0.5
How to fix
Upgrade to a fixed version: Nextcloud Enterprise Server 22.2.10.5, 23.0.9, 24.0.5; Nextcloud Server 23.0.9, 24.0.5. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpf5-jj85-36h5
- https://github.com/nextcloud/server/pull/33689
- https://github.com/nextcloud/sharepoint/issues/141
- https://hackerone.com/reports/1652903
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpf5-jj85-36h5
- https://github.com/nextcloud/server/pull/33689
- https://github.com/nextcloud/sharepoint/issues/141
- https://hackerone.com/reports/1652903
Get alerted when CVE-2022-39364 or the next vulnerability affects your stack