Nextcloud system addressbooks can be modified by malicious trusted server
nextcloud security-advisories
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nextcloud security-advisories |
| No fix yet |
nextcloud security-advisories
| Product | Affected | Fixed in |
|---|---|---|
| nextcloud security-advisories |
| No fix yet |
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`.
From the CVE record · GitHub_M
Nextcloud Server and Nextcloud Enterprise Server are vulnerable when two servers trust each other and have exchanged share secrets. A malicious trusted server can modify or delete VCards in the origin server’s system addressbook, affecting information shown in user search and the avatar menu.
Administrators running Nextcloud Server 25.0.0–25.0.7 or 26.0.0–26.0.2, or Nextcloud Enterprise Server 21.0.0–21.0.9.12, 22.0.0–22.2.10.12, 23.0.0–23.0.12.7, 24.0.0–24.0.12.2, 25.0.0–25.0.7, or 26.0.0–26.0.2 should check their installations.