SecurityContext

CVE-2023-31142: Discourse - Broken Access Control

  • Cve: CVE-2023-31142
  • Name: Discourse - Broken Access Control
  • Description: Discourse is an open source discussion platform. Prior to version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches, if a site has modified their general category permissions, they could be set back to the default. This issue is patched in version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches. A workaround, only if you are modifying the general category permissions, is to use a new category for the same purpose.
  • Impact: Attackers or misconfigurations can cause permission settings to revert, potentially exposing or restricting content improperly.
  • Remediation: Update to version 3.0.4 (stable) or 3.1.0.beta5 (beta and tests-passed).
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: logged_in
  • Requirements: Requires modifying category permissions.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00319
  • Epss percentile: 0.25047
  • Assignee: [email protected]
  • Published at: 2023-06-13T22:15:09Z
  • Age in days: 1260
  • Modified at: 2026-06-17T05:56:22Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-31142
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-732Incorrect Permission Assignment for Critical Resource

References

UrlSourceTags
https://github.com/discourse/discourse/security/advisories/GHSA-286w-97m2-78x2nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
discourse:discourse= 3.1.0 beta4, = 3.1.0 beta1, = 3.1.0 beta2, = 3.1.0 beta3, < 3.0.4nonvd/v1/products/discourse/discourse

Projects

RepositoryLink kindsIndexedUrl
discourse/discoursesecurity_advisoryyes/v1/repositories/discourse/discourse

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 22639
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports