CVE-2020-11094: Rainlab/debugbar plugin Potential Unauthorized Access To Stored Vulnerability

MODERATE
Advisory Identifier: GHSA-c8wh-6jw4-2h79
CVSS 6.1
CWE-532
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2020-11094
GHSA Identifier GHSA-c8wh-6jw4-2h79
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Rainlab/debugbar plugin
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

rainlab/debugbar-plugin fixed: 3.1.0
Upgrade rainlab/debugbar-plugin to 3.1.0
Verify Direct and Transitive Dependencies

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

### 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.

CVE-2020-11094 Affected Rainlab/debugbar plugin Versions

1 component(s)
Fixed Versions:
3.1.0
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?
CVE-2020-11094 is a security vulnerability in Rainlab/debugbar plugin involving Potential unauthorized access to stored request & session data when plugin is misconfigured in October CMS Debugbar under CWE-532: Insertion of Sensitive Information into Log File.
Which Rainlab/debugbar plugin versions are affected?
Affected versions include releases prior to 3.1.0 across affected packages: rainlab/debugbar-plugin.
What version fixes CVE-2020-11094?
Upgrading to 3.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rainlab/debugbar-plugin affected?
Yes, rainlab/debugbar-plugin is affected in releases prior to 3.1.0. Upgrade your dependency to 3.1.0 or later.
What is the CVSS score of CVE-2020-11094?
CVE-2020-11094 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2020-11094?
CVE-2020-11094 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Packagist dependencies for CVE-2020-11094?
Run the dependency tree command: 'inspect dependencies for rainlab/debugbar-plugin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}