Bug 1226373 (CVE-2024-37315) - VUL-0: CVE-2024-37315: nextcloud: read-only users can restore old versions of a document when the files_versions app is enabled
Summary: VUL-0: CVE-2024-37315: nextcloud: read-only users can restore old versions of...
Status: NEW
Alias: CVE-2024-37315
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Eric Schirra
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/410989/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 19:01 UTC by SMASH SMASH
Modified: 2024-06-15 09:29 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-14 19:01:20 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-37315
https://www.cve.org/CVERecord?id=CVE-2024-37315
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942
https://github.com/nextcloud/server/pull/43727
https://hackerone.com/reports/1356508
Comment 2 Eric Schirra 2024-06-15 09:29:52 UTC
This once again shows a problem with the stubborn adherence to the default of no major or minor update of packages.
The major version 24 is EndOfLife since 2023-04.
https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule

Leap 15.6 just came out a few days ago. With a package that has been dead for a year.

You can't update from 24 to 29 either. Even if you are allowed to according to suse specifications. Because in nextcloud you only have to/may only update one level at a time. 24 -> 25 -> 26 -> 27 -> 28 -> 29.

So what should you do in this case?