CVE-2025-2304: Camaleon cms Camaleon CMS Vulnerable To Privilege Vulnerability

CRITICAL
Advisory Identifier: GHSA-rp28-mvq3-wf8j
CWE-915
Published
Advisory Summary

CVE-2025-2304 is a CRITICAL camaleon cms vulnerable to privilege vulnerability (CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes) affecting Camaleon cms libraries in the RubyGems ecosystem. The issue involves camaleon cms vulnerable to privilege escalation through a mass assignment. Remediation is available by upgrading affected packages to version 2.9.1.

CVE-2025-2304 at a Glance

CVE Identifier CVE-2025-2304
GHSA Identifier GHSA-rp28-mvq3-wf8j
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Affected Product Camaleon cms
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2025-2304

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

camaleon_cms fixed: 2.9.1
Upgrade camaleon_cms to 2.9.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 camaleon_cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-2304, inspect your project dependencies for Camaleon cms:

inspect dependencies for camaleon_cms

Analyze the terminal output to locate any version of Camaleon cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.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-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes, where the product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified. In Camaleon cms, 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

A Privilege Escalation through a Mass Assignment exists in Camaleon CMS When a user wishes to change his password, the 'updated_ajax' method of the UsersController is called. The vulnerability stems from the use of the dangerous permit! method, which allows all parameters to pass through without any filtering.

CVE-2025-2304 Affected Camaleon cms Versions

1 component(s)
Fixed Versions:
2.9.1
Product / Package Ecosystem Affected Versions Fixed Version
camaleon_cms
RubyGems
< 2.9.1
2.9.1

References

Frequently Asked Questions

What is CVE-2025-2304?
CVE-2025-2304 is a security vulnerability in Camaleon cms involving Camaleon CMS Vulnerable to Privilege Escalation through a Mass Assignment under CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes.
Which Camaleon cms versions are affected?
Affected versions include releases prior to 2.9.1 across affected packages: camaleon_cms.
What version fixes CVE-2025-2304?
Upgrading to 2.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camaleon_cms affected?
Yes, camaleon_cms is affected in releases prior to 2.9.1. Upgrade your dependency to 2.9.1 or later.
What CWE is associated with CVE-2025-2304?
CVE-2025-2304 is classified under CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes (The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.).
How can I check RubyGems dependencies for CVE-2025-2304?
Run the dependency tree command: 'inspect dependencies for camaleon_cms'. 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-rp28-mvq3-wf8j",
  "modified" : "2025-03-19T15:32:04Z",
  "published" : "2025-03-14T15:32:03Z",
  "aliases" : [ "CVE-2025-2304" ],
  "summary" : "Camaleon CMS Vulnerable to Privilege Escalation through a Mass Assignment",
  "details" : "A Privilege Escalation through a Mass Assignment exists in Camaleon CMS\n\nWhen a user wishes to change his password, the 'updated_ajax' method of the UsersController is called. The vulnerability stems from the use of the dangerous permit! method, which allows all parameters to pass through without any filtering.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "camaleon_cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-2304"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/owen2345/camaleon-cms/pull/1109"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/owen2345/camaleon-cms/commit/179fd6b1ecf258d3e214aebfa87ac4a322ea4db4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/owen2345/camaleon-cms"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/owen2345/camaleon-cms/releases/tag/2.9.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2025-2304.yml"
  }, {
    "type" : "WEB",
    "url" : "https://www.tenable.com/security/research/tra-2025-09"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-915" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-17T14:34:48Z",
    "nvd_published_at" : "2025-03-14T13:15:41Z"
  }
}