CVE-2024-46986 in the critical feed json
Arbitrary file write leading to RCE in Camaleon CMS
published 2024-09-18 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-2890 , GHSA-wmjg-vqhv-q5p5
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 37.1%
- EPSS 37.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- rubygems camaleon_cms 2.8.1
- tuzitio camaleon_cms 2.8.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
37.11% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Camaleon CMS < 2.8.1 Arbitrary File Write to RCE nuclei detection template
- github.com https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | camaleon_cms | >=2.8.0, <2.8.1 |
2.8.1 |
Affected products
- owen2345 camaleon-cms
- tuzitio camaleon_cms
Classification
References
-
reddit.com
/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released
web, patch
-
github.com
/owen2345/camaleon-cms/commit/b3b12b1e4a9e3fccaf5bb4330820fa7f8744e6bd
web
-
github.com
/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5
web, exploit, third-party-advisory
-
codeql.github.com
/codeql-query-help/ruby/rb-path-injection
web, third-party-advisory
-
owasp.org
/www-community/attacks/Path_Traversal
web, issue-tracking
-
securitylab.github.com
/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-46986
advisory
-
github.com
/owen2345/camaleon-cms
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46986.yml
web
Sources
- CVE List CVE-2024-46986
- GitHub Advisory GHSA-wmjg-vqhv-q5p5
- NVD CVE-2024-46986
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.