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.
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.
Apply https://github.com/rainlab/debugbar-plugin/commit/86dd29f9866d712de7d98f5f9dc67751b82ecd18 to your installation manually if unable to upgrade to v3.1.0.
If you have any questions or comments about this advisory: * Email us at octobercms@luketowers.ca & hello@octobercms.com
Thanks to Freddie Poser for reporting the issue to the RainLab team.
{ "nvd_published_at": null, "github_reviewed_at": "2020-06-03T23:18:57Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-532" ] }