# CVE-2020-11094: Potential unauthorized access to stored request & session data when plugin is misconfigured in October CMS Debugbar

> Misconfigured October CMS Debugbar plugin exposes session data, allowing attackers to view requests and potentially take over user accounts.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 3 Jun 2020
- **Updated:** 4 Aug 2024
- **Also known as:** GHSA-c8wh-6jw4-2h79

## What is CVE-2020-11094?

CVE-2020-11094 is a medium-severity vulnerability in rainlab debugbar-plugin, published on 3 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

The October CMS debugbar plugin before version 3.1.0 contains a 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.

Weakness: CWE-532 (Insertion of Sensitive Information into Log File)

## Which versions are affected by CVE-2020-11094?

2 open source packages ship an affected version, including rainlab/debugbar-plugin. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `rainlab/debugbar-plugin` | Packagist | All versions | 3.1.0 |
| `rainlab/debugbar-plugin` | Packagist | All versions | 3.1.0 |

Products: Octobercms Debugbar.

## How do I fix CVE-2020-11094?

Upgrade rainlab/debugbar-plugin to 3.1.0 or later.

## Is CVE-2020-11094 being exploited?

There is no known exploitation of CVE-2020-11094 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-11094 and fix it if it is affected.

What it is: CVE-2020-11094 is a medium-severity vulnerability in rainlab debugbar-plugin, published on 3 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2020-11094 in the wild and no public exploit code.

Affected packages and fixed versions:
- rainlab/debugbar-plugin (Packagist): affected all versions; fixed in 3.1.0
- rainlab/debugbar-plugin (Packagist): affected all versions; fixed in 3.1.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-11094/ (Markdown: https://insights.sbomify.com/CVE-2020-11094/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-11094
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-11094
- OSV: https://osv.dev/vulnerability/CVE-2020-11094

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-11094/
Summaries are generated and may contain mistakes; the official description above is the record.
