CVE-2025-2304: Camaleon cms Camaleon CMS Vulnerable To Privilege Vulnerability
CRITICALCVE-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
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.
Upgrade camaleon_cms to 2.9.1
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
CVE-2025-2304 Affected Camaleon cms Versions
1 component(s)| 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?
Which Camaleon cms versions are affected?
What version fixes CVE-2025-2304?
Is camaleon_cms affected?
What CWE is associated with CVE-2025-2304?
How can I check RubyGems dependencies for CVE-2025-2304?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}