CVE-2024-36676: Ssddanbrown/bookstack BookStack Incorrect Access Control Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-pj36-fcrg-327j
CVSS 8.2
CWE-284 CWE-79
Published
Advisory Summary

CVE-2024-36676 is a HIGH (CVSS 8.2) bookstack incorrect access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Ssddanbrown/bookstack libraries in the Packagist ecosystem. The issue involves bookstack incorrect access control vulnerability. Remediation is available by upgrading affected packages to version 24.05.1.

CVE-2024-36676 at a Glance

CVE Identifier CVE-2024-36676
GHSA Identifier GHSA-pj36-fcrg-327j
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-284: Improper Access Control
Affected Product Ssddanbrown/bookstack
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2024-36676

To remediate this vulnerability, upgrade all affected Ssddanbrown/bookstack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ssddanbrown/bookstack fixed: 24.05.1
Upgrade ssddanbrown/bookstack to 24.05.1
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 ssddanbrown/bookstack

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-36676, inspect your project dependencies for Ssddanbrown/bookstack:

inspect dependencies for ssddanbrown/bookstack

Analyze the terminal output to locate any version of Ssddanbrown/bookstack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 24.05.1), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Ssddanbrown/bookstack, 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

Incorrect access control in BookStack before v24.05.1 allows attackers to confirm existing system users and perform targeted notification email DoS via public facing forms.

CVE-2024-36676 Affected Ssddanbrown/bookstack Versions

1 component(s)
Fixed Versions:
24.05.1
Product / Package Ecosystem Affected Versions Fixed Version
ssddanbrown/bookstack
Packagist
< 24.05.1
24.05.1

References

Frequently Asked Questions

What is CVE-2024-36676?
CVE-2024-36676 is a security vulnerability in Ssddanbrown/bookstack involving BookStack Incorrect Access Control vulnerability under CWE-284: Improper Access Control.
Which Ssddanbrown/bookstack versions are affected?
Affected versions include releases prior to 24.05.1 across affected packages: ssddanbrown/bookstack.
What version fixes CVE-2024-36676?
Upgrading to 24.05.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ssddanbrown/bookstack affected?
Yes, ssddanbrown/bookstack is affected in releases prior to 24.05.1. Upgrade your dependency to 24.05.1 or later.
What is the CVSS score of CVE-2024-36676?
CVE-2024-36676 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
What CWE is associated with CVE-2024-36676?
CVE-2024-36676 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2024-36676?
Run the dependency tree command: 'inspect dependencies for ssddanbrown/bookstack'. 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-pj36-fcrg-327j",
  "modified" : "2024-07-10T16:51:36Z",
  "published" : "2024-07-10T00:30:41Z",
  "aliases" : [ "CVE-2024-36676" ],
  "summary" : "BookStack Incorrect Access Control vulnerability",
  "details" : "Incorrect access control in BookStack before v24.05.1 allows attackers to confirm existing system users and perform targeted notification email DoS via public facing forms.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ssddanbrown/bookstack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "24.05.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36676"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BookStackApp/BookStack/issues/4993"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BookStackApp/BookStack/commit/69af9e0dbdefd8c6c951e8afbe2bba141d454beb"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/BookStackApp/BookStack"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BookStackApp/BookStack/releases/tag/v24.05.1"
  }, {
    "type" : "WEB",
    "url" : "https://www.bookstackapp.com/blog/bookstack-release-v24-05-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-10T16:51:36Z",
    "nvd_published_at" : "2024-07-09T22:15:02Z"
  }
}