GHSA-55qg-6c4m-mw6g silverstripe/framework's URL parameters `isDev` and `isTest` unguarded
Unauthenticated attackers can enable debug mode via URL parameters to expose verbose errors and backtraces, potentially leaking sensitive system information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-55qg-6c4m-mw6g?
GHSA-55qg-6c4m-mw6g is a vulnerability in silverstripe/framework, published on 27 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The URL parameters isDev and isTest are accessible to unauthenticated users who access a SilverStripe website or application. This allows unauthorised users to expose information that is usually hidden on production environments such as verbose errors (including backtraces) and other debugging tools only available to sites running in "dev mode". Core functionality does not expose user data through these methods. Depending on your website configuration, community modules might have added more specific functionality which can be used to either access or alter user data.
We have fixed the usage of isDev and isTest in SilverStripe 4.x, and removed the URL parameters in the next major release of SilverStripe.
Which versions are affected by GHSA-55qg-6c4m-mw6g?
4 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.4 |
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.4 |
silverstripe/framework Packagist | From 4.1.0rc1 | 4.1.1 |
silverstripe/framework Packagist | From 4.1.0rc1 | 4.1.1 |
How do I fix GHSA-55qg-6c4m-mw6g?
Upgrade silverstripe/framework to a fixed version for your release line: 4.0.4 or 4.1.1.
Is GHSA-55qg-6c4m-mw6g being exploited?
There is no known exploitation of GHSA-55qg-6c4m-mw6g in the wild and no public exploit code.