Persistent file access via undeleted shares
Published Nov 15, 2024 · Updated Nov 15, 2024
Improper privilege management in Nextcloud Server allows remote authenticated users to retain access to previously shared files. The DefaultShareProvider::userDeletedFromGroup path removed derived group shares but failed to delete direct user shares after the users no longer shared a permitted group. The condition requires group-only sharing, a prior direct share between group peers, and removal from the last mutual group; the former recipient can still read the file.
Summary
What happened
Improper privilege management in Nextcloud Server allows remote authenticated users to retain access to previously shared files. The DefaultShareProvider::userDeletedFromGroup path removed derived group shares but failed to delete direct user shares after the users no longer shared a permitted group. The condition requires group-only sharing, a prior direct share between group peers, and removal from the last mutual group; the former recipient can still read the file.
The record
- CVE
- CVE-2024-52516
- Published
- Nov 15, 2024
- Updated
- Nov 15, 2024
- Vendor
- Nextcloud GmbH
- Product
- Security Advisories
- Classifications
- CWE-269, CAPEC-122, T1530
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 15, 2024CVE publishedPublication date reported by the CVE source.
- Nov 15, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 28.0.0, < 28.0.9
- Affected versionversion=>= 29.0.0, < 29.0.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo