CVE-2025-2304:
Camaleon CMS Vulnerable to Privilege Escalation through a Mass Assignment
9.4
CVSS Score
4.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.23351%
CWE
Published
3/14/2025
Updated
3/17/2025
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
camaleon_cms | rubygems | < 2.9.1 | 2.9.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the insecure use of permit! in the updated_ajax method, as shown in the pre-patch code diff. This method allowed mass assignment of any parameters under :password, including unauthorized attributes. The GitHub patch explicitly replaces permit! with a restricted permit(%i[password password_confirmation]) and adds parameter validation, confirming this was the vulnerable entry point. The CWE-915 mapping and advisory descriptions directly reference this insecure parameter handling pattern.