CVE-2020-11094: Rainlab/debugbar plugin Potential Unauthorized Access To Stored Vulnerability
MODERATECVE-2020-11094 is a MODERATE (CVSS 6.1) potential unauthorized access to stored vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Rainlab/debugbar plugin libraries in the Packagist ecosystem. The issue involves potential unauthorized access to stored request & session data when plugin is misconfigured in october cms debugbar. Remediation is available by upgrading affected packages to version 3.1.0.
CVE-2020-11094 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N).
How to Fix CVE-2020-11094
To remediate this vulnerability, upgrade all affected Rainlab/debugbar plugin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rainlab/debugbar-plugin to 3.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rainlab/debugbar-plugin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-11094, inspect your project dependencies for Rainlab/debugbar plugin:
inspect dependencies for rainlab/debugbar-plugin
Analyze the terminal output to locate any version of Rainlab/debugbar plugin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Rainlab/debugbar plugin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-11094 Affected Rainlab/debugbar plugin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rainlab/debugbar-plugin
|
Packagist |
< 3.1.0
|
3.1.0
|
References
Frequently Asked Questions
What is CVE-2020-11094?
Which Rainlab/debugbar plugin versions are affected?
What version fixes CVE-2020-11094?
Is rainlab/debugbar-plugin affected?
What is the CVSS score of CVE-2020-11094?
What CWE is associated with CVE-2020-11094?
How can I check Packagist dependencies for CVE-2020-11094?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c8wh-6jw4-2h79",
"modified" : "2021-01-08T20:14:28Z",
"published" : "2020-06-03T23:19:12Z",
"aliases" : [ "CVE-2020-11094" ],
"summary" : "Potential unauthorized access to stored request & session data when plugin is misconfigured in October CMS Debugbar",
"details" : "### Impact\nThe 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.\n\n### Patches\nIssue 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.\n\n### Workarounds\nApply https://github.com/rainlab/debugbar-plugin/commit/86dd29f9866d712de7d98f5f9dc67751b82ecd18 to your installation manually if unable to upgrade to v3.1.0.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [octobercms@luketowers.ca](mailto:octobercms@luketowers.ca) & [hello@octobercms.com](mailto:hello@octobercms.com)\n\n### Acknowledgements\n\nThanks to [Freddie Poser](https://twitter.com/vogonjeltz101) for reporting the issue to the RainLab team.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "rainlab/debugbar-plugin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rainlab/debugbar-plugin/security/advisories/GHSA-c8wh-6jw4-2h79"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11094"
}, {
"type" : "WEB",
"url" : "https://github.com/rainlab/debugbar-plugin/commit/86dd29f9866d712de7d98f5f9dc67751b82ecd18"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-03T23:18:57Z",
"nvd_published_at" : null
}
}