CVE-2023-35928 Nextcloud user scoped external storage can be used to gather credentials of other users

High 8.5 Published Updated

A user can exploit external storage features to steal login credentials of other users, leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-35928?

CVE-2023-35928 is a high-severity vulnerability in Nextcloud Nextcloud Server, published on 23 Jun 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Nextcloud Server is a space for data storage on Nextcloud, a self-hosted productivity playform. In NextCloud Server versions 25.0.0 until 25.0.7 and 26.0.0 until 26.0.2 and Nextcloud Enterprise Server versions 19.0.0 until 19.0.13.9, 20.0.0 until 20.0.14.14, 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, a user could use this functionality to get access to the login credentials of another user and take over their account. This issue has been patched in Nextcloud Server versions 25.0.7 and 26.0.2 and NextCloud Enterprise Server versions 19.0.13.9, 20.0.14.14, 21.0.9.12, 22.2.10.12, 23.0.12.7, 24.0.12.2, 25.0.7, and 26.0.2.

Three workarounds are available. Disable app files_external. Change config setting "Allow users to mount external storage" to disabled in "Administration" > "External storage" settings `…/index.php/settings/admin/externalstorages`. Change config setting to disallow users to create external storages in "Administration" > "External storage" settings `…/index.php/settings/admin/externalstorages` with the types FTP, Nextcloud, SFTP, and/or WebDAV.

Weakness: CWE-274

Which versions are affected by CVE-2023-35928?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2023-35928?

No fix has been published for CVE-2023-35928 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-35928 being exploited?

There is no known exploitation of CVE-2023-35928 in the wild and no public exploit code.

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-637g-xp2c-qh5h.

Is CVE-2023-35928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free