GHSA-c8wh-6jw4-2h79

Suggest an improvement
Source
https://github.com/advisories/GHSA-c8wh-6jw4-2h79
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-c8wh-6jw4-2h79/GHSA-c8wh-6jw4-2h79.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-c8wh-6jw4-2h79
Aliases
Published
2020-06-03T23:19:12Z
Modified
2023-11-01T04:51:31.454737Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Potential unauthorized access to stored request & session data when plugin is misconfigured in October CMS Debugbar
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 & hello@octobercms.com

Acknowledgements

Thanks to Freddie Poser for reporting the issue to the RainLab team.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-03T23:18:57Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-532"
    ]
}
References

Affected packages

Packagist / rainlab/debugbar-plugin

Package

Name
rainlab/debugbar-plugin
Purl
pkg:composer/rainlab/debugbar-plugin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0

Affected versions

1.*

1.0.5
1.0.6
1.0.8

2.*

2.0.0

3.*

3.0.0
3.0.1