CVE-2023-39952 Advanced permissions not respected when copying entire group folders

Medium 6.5 Published Updated

Users can bypass advanced permission restrictions to read files in restricted subfolders of accessible group folders.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-39952?

CVE-2023-39952 is a medium-severity missing authorization vulnerability in Nextcloud Nextcloud Server, published on 10 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 22.0.0 and prior to versions 22.2.10.13, 23.0.12.8, 24.0.12.4, 25.0.8, 26.0.3, and 27.0.1, a user can access files inside a subfolder of a groupfolder accessible to them, even if advanced permissions would block access to the subfolder. Nextcloud Server versions 25.0.8, 26.0.3, and 27.0.1 and Nextcloud Enterprise Server versions 22.2.10.13, 23.0.12.8, 24.0.12.4, 25.0.8, 26.0.3, and 27.0.1 contain a patch for this issue. No known workarounds are available.

Weakness: CWE-284

Which versions are affected by CVE-2023-39952?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2023-39952?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-39952 being exploited?

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-cq8w-v4fh-4rjq.

Is CVE-2023-39952 in your software?

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

Check your SBOMs for free