CVE-2024-46986

Arbitrary file write leading to RCE in Camaleon CMS

Published Sep 18, 2024 CVSS 3.1 · 10 Critical EPSS 7.1% KEV · Not listed
Description
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. An arbitrary file write vulnerability accessible via the upload method of the MediaController allows authenticated users to write arbitrary files to any location on the web server Camaleon CMS is running on (depending on the permissions of the underlying filesystem). E.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wmjg-vqhv-q5p5 Camaleon CMS affected by arbitrary file write to RCE (GHSL-2024-182)
History
Type Values Removed Values Added
Weaknesses CWE-22
Type Values Removed Values Added
First Time appeared Tuzitio
Tuzitio camaleon Cms
CPEs cpe:2.3:a:tuzitio:camaleon_cms:*:*:*:*:*:*:*:*
Vendors & Products Tuzitio
Tuzitio camaleon Cms
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. An arbitrary file write vulnerability accessible via the upload method of the MediaController allows authenticated users to write arbitrary files to any location on the web server Camaleon CMS is running on (depending on the permissions of the underlying filesystem). E.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Title Arbitrary file write leading to RCE in Camaleon CMS
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 17, 2025, 6:07 PM
Reserved
Sep 16, 2024, 4:10 PM
Status
Modified
Published
Sep 18, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:56 AM