VDB
Sign up
MEDIUM6.1

GHSA-c8wh-6jw4-2h79

Potential unauthorized access to stored request & session data when plugin is misconfigured in October CMS Debugbar

Quick fix

GHSA-c8wh-6jw4-2h79 — rainlab/debugbar-plugin: upgrade to the fixed version with the command below.

composer require rainlab/debugbar-plugin:^3.1.0

Details

### Impact The debugbar contains a perhaps little known feature where it will log all requests (and all information pertaining to each request including session data) whenever it is enabled. This presents a problem if the plugin is ever enabled on a system that is open to untrusted users as the potential exists for them to use this feature to view all requests being made to the application and obtain sensitive information from those requests. There even exists the potential for account takeovers of authenticated users by non-authenticated public users, which would then lead to a number of other potential issues as an attacker could theoretically get full access to the system if the required conditions existed.

### Patches Issue has been patched in v3.1.0 by locking down access to the debugbar to all users; it now requires an authenticated backend user with a specifically enabled permission before it is even usable, and the feature that allows access to stored request information is restricted behind a different permission that's more restrictive.

### Workarounds Apply https://github.com/rainlab/debugbar-plugin/commit/86dd29f9866d712de7d98f5f9dc67751b82ecd18 to your installation manually if unable to upgrade to v3.1.0.

### For more information If you have any questions or comments about this advisory: * Email us at [octobercms@luketowers.ca](mailto:octobercms@luketowers.ca) & [hello@octobercms.com](mailto:hello@octobercms.com)

### Acknowledgements

Thanks to [Freddie Poser](https://twitter.com/vogonjeltz101) for reporting the issue to the RainLab team.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/rainlab/debugbar-plugin
Introduced in: 0Fixed in: 3.1.0
Fixcomposer require rainlab/debugbar-plugin:^3.1.0

References