Skip to content

CVE-2024-46986 Arbitrary file write leading to RCE in Camaleon CMS

CriticalCVSS 9.9 EPSS 37.1% Scanner template PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
rubygems camaleon_cms(RubyGems) = 2.8.0; >= 2.8.0, < 2.8.1 2.8.1 Fixed
tuzitio camaleon cms < 2.8.2 2.8.2 Fixed
owen2345/camaleon-cms = < 2.8.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems camaleon_cms(RubyGems) >= 2.8.0, < 2.8.1 2.8.1
rubygems camaleon_cms(RubyGems) = 2.8.0 No fix listed
owen2345/camaleon-cms = < 2.8.2 No fix listed
tuzitio camaleon cms < 2.8.2 2.8.2

References