CVE-2024-46986
CRITICAL 9.9CVSS 3.1Camaleon CMS affected by arbitrary file write to RCE (GHSL-2024-182)
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.
- Published
- 18 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-74
- Also known as
- GHSA-wmjg-vqhv-q5p5
- Sources
- NVDJSONOSV GHSA-wmjg-vqhv-q5p5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tuzitio | camaleon_cmscpe:2.3:a:tuzitio:camaleon_cms:*:*:*:*:*:*:*:* |
< 2.8.2 | 2.8.2 |
| OSV | RubyGems | camaleon_cms | >= 2.8.0, < 2.8.1 | 2.8.1 |
References
- https://codeql.github.com/codeql-query-help/ruby/rb-path-injection · Third Party Advisory, WEB
- https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5 · Exploit, Third Party Advisory, WEB
- https://owasp.org/www-community/attacks/Path_Traversal · Issue Tracking, WEB
- https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS · ADVISORY
- https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-46986 · ADVISORY
- https://github.com/owen2345/camaleon-cms/commit/b3b12b1e4a9e3fccaf5bb4330820fa7f8744e6bd · WEB
- https://github.com/owen2345/camaleon-cms · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46986.yml · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 18 Sep 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Sep 2024)