CVE-2023-35927: Nextcloud system addressbooks can be modified by malicious trusted server

Published Jun 23, 2023
·
Updated

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.

Affected Software

10 affected components
Nextcloud Server>=16.0.0<19.0.13.9
Nextcloud Server>=20.0.0<20.0.14.14
Nextcloud Server>=21.0.0<21.0.9.12
Nextcloud Server>=22.0.0<22.2.10.12
Nextcloud Server>=23.0.0<23.0.12.7
Nextcloud Server>=24.0.0<24.0.12.2
Nextcloud Server>=25.0.0<25.0.7
Nextcloud Server>=25.0.0<25.0.7
Nextcloud Server>=26.0.0<26.0.2
Nextcloud Server>=26.0.0<26.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nextcloud Server/Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 25.0.7
  2. Upgrade

    Upgrade Nextcloud Server/Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 26.0.2
  3. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 21.0.9.12
  4. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 22.2.10.12
  5. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 23.0.12.7
  6. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 24.0.12.2
  7. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 25.0.7
  8. Upgrade

    Upgrade Nextcloud Enterprise Server to a version that resolves this vulnerability.

    Fixed in 26.0.2
  9. Configuration

    In Nextcloud, remove all trusted servers in the "Administration" > "Sharing" settings at /index.php/settings/admin/sharing.

    Nextcloud Administration > Sharing (trusted servers) at /index.php/settings/admin/sharing = Remove all trusted servers
  10. Operational

    After applying the workaround, trigger a recreation of the local system addressbook by running: occ dav:sync-system-addressbook.

Event History

Jun 23, 2023
CVE Published
via MITRE·08:53 PM
Data Sourced
via MITRE·08:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this NextCloud Server vulnerability?

The vulnerability ID for this NextCloud Server vulnerability is CVE-2023-35927.

2

What is the severity of CVE-2023-35927?

The severity of CVE-2023-35927 is high with a CVSS score of 8.1.

3

Which versions of NextCloud Server and NextCloud Enterprise Server are affected by CVE-2023-35927?

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 are affected by CVE-2023-35927.

4

How can I fix the CVE-2023-35927 vulnerability?

To fix the CVE-2023-35927 vulnerability, it is recommended to update NextCloud Server to version 26.0.3 or later, and Nextcloud Enterprise Server to version 23.0.12.8 or later.

5

Where can I find more information about CVE-2023-35927?

More information about CVE-2023-35927 can be found in the following references: [GitHub Security Advisory](https://github.com/nextcloud/security-advisories/security/advisories/GHSA-h7f7-535f-7q87), [Nextcloud Server Pull Request](https://github.com/nextcloud/server/pull/38247), and [HackerOne Report](https://hackerone.com/reports/1976754).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203