CVE-2022-36068
What it is
Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, a moderator can create new and edit existing themes by using the API when they should not be able to do so. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-862 · Missing authorization
- Record status
- Modified
Affected
- Discourse < 2.8.9
- Discourse 2.9.0
Attack profile CVSS 3.1 · 7.2
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-36068.md and follow it. Check whether this project is affected by CVE-2022-36068. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/discourse/discourse/commit/ae1e536e83940d58f1c79b835c75c249121c46b6
- https://github.com/discourse/discourse/pull/18418
- https://github.com/discourse/discourse/security/advisories/GHSA-6crr-3662-263q
- https://github.com/discourse/discourse/commit/ae1e536e83940d58f1c79b835c75c249121c46b6
- https://github.com/discourse/discourse/pull/18418
- https://github.com/discourse/discourse/security/advisories/GHSA-6crr-3662-263q
References
- https://github.com/discourse/discourse/commit/ae1e536e83940d58f1c79b835c75c249121c46b6
- https://github.com/discourse/discourse/pull/18418
- https://github.com/discourse/discourse/security/advisories/GHSA-6crr-3662-263q
- https://github.com/discourse/discourse/commit/ae1e536e83940d58f1c79b835c75c249121c46b6
- https://github.com/discourse/discourse/pull/18418
- https://github.com/discourse/discourse/security/advisories/GHSA-6crr-3662-263q