CVE-2024-37315 Nextcloud Server's read-only users can restore old versions

Low 3.5 Published Updated

Read-only users can restore old file versions in Nextcloud Server when the files_versions app is enabled, allowing unauthorized data modification.

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

What is CVE-2024-37315?

CVE-2024-37315 is a low-severity missing authorization vulnerability in Nextcloud Nextcloud Server, published on 14 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Nextcloud Server is a self hosted personal cloud system. An attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled. It is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3 and that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3.

Weakness: CWE-284

Which versions are affected by CVE-2024-37315?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2024-37315?

No fix has been published for CVE-2024-37315 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-2024-37315 being exploited?

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-5mq8-738w-5942.

Is CVE-2024-37315 in your software?

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

Check your SBOMs for free