Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Camaleon CMS Privilege Escalation

High

Synopsis

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.

def updated_ajax
  @user = current_site.users.find(params[:user_id])
  update_session = current_user_is?(@user)

  @user.update(params.require(:password).permit!)
  render inline: @user.errors.full_messages.join(', ')

  # keep user logged in when changing their own password
  update_auth_token_in_cookie @user.auth_token if update_session && @user.saved_change_to_password_digest?
end

The vulnerability stems from the use of the dangerous permit! method, which allows all parameters to pass through without any filtering.

An attacker can exploit this vulnerability by submitting a request with an extra parameter that includes the role attribute allowing a user with limited privileges to become an administrator.

 

Solution

Upgrade to CamaleonCMS 2.9.1 or later.

Disclosure Timeline

November 20 2024 - Tenable requests security contact from vendor.
November 20 2024 - Vendor acknowledged
January 08 2025 - Asking for updates
January 15 2025 - Vendor has prepared and merged a fix (not released)
February 20 2025 - Asking for updates
Mars 05 2025 - Asking for updates
Mars 15 2025 - Vendor has published the fix

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

CVE ID: CVE-2025-2304
Tenable Advisory ID: TRA-2025-09
Credit:
Joshua Martinelle
CVSSv3 Base / Temporal Score:
8.8
CVSSv3 Vector:
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSSv4 Base Score:
9.4
CVSSv4 Vector:
AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Affected Products:
Camaleon CMS
Risk Factor:
High

Advisory Timeline

March 17, 2025 - Initial release