Bug 2138272 (CVE-2022-39364)

Summary: CVE-2022-39364 Nextcloud Server: SharePoint service credentials leaked in nextcloud.log
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Nextcloud Server 23.0.9, Nextcloud Server 24.0.5, Nextcloud Enterprise Server 22.2.10.5, Nextcloud Enterprise Server 23.0.9, Nextcloud Enterprise Server 24.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-03 00:18:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2138962, 2138963    
Bug Blocks: 2138271    

Description Zack Miele 2022-10-27 20:50:47 UTC
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`.

https://github.com/nextcloud/sharepoint/issues/141
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpf5-jj85-36h5
https://github.com/nextcloud/server/pull/33689
https://hackerone.com/reports/1652903

Comment 1 Zack Miele 2022-10-31 19:30:53 UTC
Created nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2138963]
Affects: fedora-all [bug 2138962]

Comment 2 Product Security DevOps Team 2022-12-03 00:18:45 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.