CVE-2024-29885 Reports are still accessible even when `canView()` returns false in silverstripe/reports
Attackers with admin access can view restricted reports via direct URLs despite permission checks, requiring an upgrade to the Silverstripe reports module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-29885?
CVE-2024-29885 is a medium-severity missing authorization vulnerability in silverstripe-reports, published on 17 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
silverstripe/reports is an API for creating backend reports in the Silverstripe Framework. In affected versions reports can be accessed by their direct URL by any user who has access to view the reports admin section, even if the `canView()` method for that report returns `false`. This issue has been addressed in version 5.2.3. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-200
Which versions are affected by CVE-2024-29885?
2 open source packages ship an affected version, including silverstripe/reports. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/reports Packagist | All versions | 5.2.3 |
silverstripe/reports Packagist | All versions | 5.2.3 |
Products include Silverstripe Reports.
How do I fix CVE-2024-29885?
Upgrade silverstripe/reports to 5.2.3 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-29885 being exploited?
There is no known exploitation of CVE-2024-29885 in the wild and no public exploit code.
Sources
Also known as GHSA-89q6-98xx-4ffw.