CVE-2023-35927

Nextcloud system addressbooks can be modified by malicious trusted server

State
Published
Severity
7.6 High
Published
Jun 23, 2023
Updated
Nov 7, 2024
Reserved
Jun 20, 2023

Read the record on cve.org

Description

NextCloud Server and NextCloud Enterprise Server provide file storage for Nextcloud, a self-hosted productivity platform. In NextCloud Server versions 25.0.0 until 25.0.7 and 26.0.0 until 26.0.2 and Nextcloud Enterprise Server versions 21.0.0 until 21.0.9.12, 22.0.0 until 22.2.10.12, 23.0.0 until 23.0.12.7, 24.0.0 until 24.0.12.2, 25.0.0 until 25.0.7, and 26.0.0 until 26.0.2, when two server are registered as trusted servers for each other and successfully exchanged the share secrets, the malicious server could modify or delete VCards in the system addressbook on the origin server. This would impact the available and shown information in certain places, such as the user search and avatar menu. If a manipulated user modifies their own data in the personal settings the entry is fixed again.

Nextcloud Server n 25.0.7 and 26.0.2 and Nextcloud Enterprise Server 21.0.9.12, 22.2.10.12, 23.0.12.7, 24.0.12.2, 25.0.7, and 26.0.2 contain a patch for this issue. A workaround is available. Remove all trusted servers in the "Administration" > "Sharing" settings `…/index.php/settings/admin/sharing`. Afterwards, trigger a recreation of the local system addressbook with the following `occ dav:sync-system-addressbook`.

Scores

CVSSScoreVectorSource
3.17.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
security-advisoriesnextcloud
  • Nextcloud Server >= 25.0.0, < 25.0.7Affected
  • Nextcloud Server >= 26.0.0, < 26.0.2Affected
  • Nextcloud Enterprise Server >= 25.0.0, < 25.0.7Affected
  • Nextcloud Enterprise Server >= 26.0.0, < 26.0.2Affected
  • Nextcloud Enterprise Server >= 21.0.0, < 21.0.9.12Affected
  • Nextcloud Enterprise Server >= 22.0.0, < 22.2.10.12Affected
  • Nextcloud Enterprise Server >= 23.0.0, < 23.0.12.7Affected
  • Nextcloud Enterprise Server >= 24.0.0, < 24.0.12.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.