CVE-2023-35927

Source
https://cve.org/CVERecord?id=CVE-2023-35927
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35927.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-35927
Aliases
  • GHSA-h7f7-535f-7q87
Published
2023-06-23T20:53:33.688Z
Modified
2026-04-02T09:05:38.814261Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:L CVSS Calculator
Summary
Nextcloud system addressbooks can be modified by malicious trusted server
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35927.json"
}
References

Affected packages

Git / github.com/nextcloud/server

Affected ranges

Type
GIT
Repo
https://github.com/nextcloud/server
Events
Database specific
{
    "versions": [
        {
            "introduced": "25.0.0"
        },
        {
            "fixed": "25.0.7"
        },
        {
            "introduced": "25.0.0"
        },
        {
            "fixed": "25.0.7"
        },
        {
            "introduced": "26.0.0"
        },
        {
            "fixed": "26.0.2"
        },
        {
            "introduced": "26.0.0"
        },
        {
            "fixed": "26.0.2"
        }
    ]
}

Affected versions

v25.*
v25.0.0
v25.0.1
v25.0.1rc1
v25.0.2
v25.0.2rc1
v25.0.2rc2
v25.0.2rc3
v25.0.3
v25.0.3rc1
v25.0.3rc2
v25.0.4
v25.0.4rc1
v25.0.5
v25.0.5rc1
v25.0.6
v25.0.6rc1
v25.0.7rc1
v26.*
v26.0.0
v26.0.1
v26.0.1rc1
v26.0.2rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35927.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "16.0.0"
            },
            {
                "fixed": "19.0.13.9"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "20.0.0"
            },
            {
                "fixed": "20.0.14.14"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "21.0.0"
            },
            {
                "fixed": "21.0.9.12"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "22.0.0"
            },
            {
                "fixed": "22.2.10.12"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "23.0.0"
            },
            {
                "fixed": "23.0.12.7"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "24.0.0"
            },
            {
                "fixed": "24.0.12.2"
            }
        ]
    }
]