Skip to content

GHSA-rp28-mvq3-wf8j CVE-2025-2304

Camaleon CMS Vulnerable to Privilege Escalation through a Mass Assignment

Critical RubyGems
Severity
0.0 / 10
Critical · CVSS 4.0
Exploit chance (EPSS)
0.63%
Chance of exploitation in the next 30 days. Higher than 50.10% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
Fix
2.9.1
Upgrade camaleon_cms to this version or later

Description

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.

Affected versions

RubyGems

PackageVulnerableFixed in
camaleon_cms
< 2.9.1
2.9.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

camaleon_cms RubyGems → 2.9.1

bundler
bundle update camaleon_cms # Gemfile: gem "camaleon_cms", ">= 2.9.1"

Severity breakdown

CVSS 4.0 0.0

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

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality (vulnerable system)
High
Integrity (vulnerable system)
High
Availability (vulnerable system)
High
Confidentiality (subsequent systems)
High
Integrity (subsequent systems)
High
Availability (subsequent systems)
High

Weakness

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 to prevent it
  • Implementation: If available, use features of the language or framework that allow specification of allowlists of attributes or fields that are allowed to be modified. If possible, prefer allowlists over denylists. For applications written with Ruby on Rails, use the attr_accessible (allowlist) or attr_protected (denylist) macros in each class that may be used in mass assignment.
  • Architecture and Design, Implementation: If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
  • Implementation: For any externally-influenced input, check the input against an allowlist of internal object attributes or fields that are allowed to be modified.
  • Implementation, Architecture and Design: Refactor the code so that object attributes or fields do not need to be dynamically identified, and only expose getter/setter functionality for the intended attributes.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-jw5g-f64p-6x78
Camaleon CMS vulnerable to Path Traversal through AWS S3 uploader implementation
Medium Also affects camaleon_cms
GHSA-hhxg-rvc9-8726
camaleon_cms affected by cross site scripting
Medium Also affects camaleon_cms
GHSA-75j2-9gmc-m855
Camaleon CMS vulnerable to stored XSS through user file upload (GHSL-2024-184)
Medium Also affects camaleon_cms
GHSA-8fx8-3rg2-79xw
Camaleon CMS vulnerable to stored XSS through user file upload (GHSL-2024-184)
Medium Also affects camaleon_cms
GHSA-7x4w-cj9r-h4v9
Camaleon CMS vulnerable to remote code execution through code injection (GHSL-2024-185)
High Also affects camaleon_cms
GHSA-r9cr-qmfw-pmrc
Camaleon CMS vulnerable to stored XSS through user file upload (GHSL-2024-184)
Medium Also affects camaleon_cms
GHSA-cp65-5m9r-vc2c
Camaleon CMS vulnerable to arbitrary path traversal (GHSL-2024-183)
High Also affects camaleon_cms
GHSA-wmjg-vqhv-q5p5
Camaleon CMS affected by arbitrary file write to RCE (GHSL-2024-182)
Critical Also affects camaleon_cms
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor