Vulnerabilities in pkg:maven/org.bonitasoft.platform/platform-resources

PACKAGE
Advisory Identifier: GHSA-8vj9-5v5q-fhch
Advisory Summary

CVE-2024-27609 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Bonita web server libraries in the Maven ecosystem. The issue involves bonita cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 10.1.0.W11.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.bonitasoft.platform/platform-resources

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.bonitasoft.platform/platform-resources. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-8vj9-5v5q-fhch CVE-2024-27609 MODERATE Bonita cross-site scripting vulnerability

CVE-2024-27609 at a Glance

CVE Identifier CVE-2024-27609
GHSA Identifier GHSA-8vj9-5v5q-fhch
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Bonita web server
Package Ecosystem Maven
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:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

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

How to Fix CVE-2024-27609

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

org.bonitasoft.console:bonita-web-server fixed: 10.1.0.W11
<dependency>
    <groupId>org.bonitasoft.console</groupId>
    <artifactId>bonita-web-server</artifactId>
    <version>10.1.0.W11</version>
</dependency>
org.bonitasoft.platform:platform-resources fixed: 10.1.0.W11
<dependency>
    <groupId>org.bonitasoft.platform</groupId>
    <artifactId>platform-resources</artifactId>
    <version>10.1.0.W11</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.bonitasoft.console

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-27609, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.bonitasoft.console

Analyze the terminal output to locate any version of Bonita web server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.1.0.W11), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.bonitasoft.console command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Bonita web server, 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

Bonita before 10.1.0.W11 allows stored XSS via a UI screen in the administration panel.

CVE-2024-27609 Affected Bonita web server Versions

2 component(s)
Fixed Versions:
10.1.0.W11
Product / Package Ecosystem Affected Versions Fixed Version
org.bonitasoft.console:bonita-web-server
Maven
< 10.1.0.W11
10.1.0.W11
org.bonitasoft.platform:platform-resources
Maven
< 10.1.0.W11
10.1.0.W11

References

Frequently Asked Questions

What is CVE-2024-27609?
CVE-2024-27609 is a security vulnerability in Bonita web server involving Bonita cross-site scripting vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Bonita web server versions are affected?
Affected versions include releases prior to 10.1.0.W11 across affected packages: org.bonitasoft.console:bonita-web-server, org.bonitasoft.platform:platform-resources.
What version fixes CVE-2024-27609?
Upgrading to 10.1.0.W11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bonita-web-server affected?
Yes, org.bonitasoft.console:bonita-web-server is affected in releases prior to 10.1.0.W11. Upgrade your dependency to 10.1.0.W11 or later.
Is platform-resources affected?
Yes, org.bonitasoft.platform:platform-resources is affected in releases prior to 10.1.0.W11. Upgrade your dependency to 10.1.0.W11 or later.
What is the CVSS score of CVE-2024-27609?
CVE-2024-27609 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-27609?
CVE-2024-27609 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Maven dependencies for CVE-2024-27609?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.bonitasoft.console'. 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-8vj9-5v5q-fhch",
  "modified" : "2024-11-08T22:12:37Z",
  "published" : "2024-04-01T00:30:43Z",
  "aliases" : [ "CVE-2024-27609" ],
  "summary" : "Bonita cross-site scripting vulnerability",
  "details" : "Bonita before 10.1.0.W11 allows stored XSS via a UI screen in the administration panel.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bonitasoft.console:bonita-web-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.1.0.W11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bonitasoft.platform:platform-resources"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.1.0.W11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-27609"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bonitasoft/bonita-engine/commit/15dc60a99d97f9407b5089ba26f792cf3bd87f6b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bonitasoft/bonita-engine/commit/26b24690a80dce11c0a4fa38ea54aeb35ca1e541"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bonitasoft/bonita-engine/commit/2c84ea1a76f7e7f345c334645e46428e9376b0c9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bonitasoft/bonita-engine/commit/90469adf2b0ebf33f4c65b583f5c96284c8c1086"
  }, {
    "type" : "WEB",
    "url" : "https://documentation.bonitasoft.com/bonita/latest/release-notes#_fixes_in_bonita_runtime_including_bonita_applications_2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bonitasoft/bonita-engine"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-01T15:52:49Z",
    "nvd_published_at" : "2024-04-01T00:15:49Z"
  }
}