{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-46986","id":"CVE-2024-46986","title":"Arbitrary file write leading to RCE in Camaleon CMS","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","descriptionLong":"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":"2024-09-18T17:14:09.127Z","updated":"2026-10-28T02:30:49.844875682Z","reserved":"2024-09-16T16:10:09.018Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"critical","products":["owen2345 camaleon-cms"],"affectedProducts":[{"vendor":"owen2345","product":"camaleon-cms","defaultStatus":null,"versions":[{"version":"< 2.8.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"camaleon_cms","purl":"pkg:gem/camaleon_cms","ranges":[">=2.8.0 <2.8.1"],"fixed":["2.8.1"],"advisory":"GHSA-wmjg-vqhv-q5p5"}],"cwes":["CWE-74","CWE-22"],"aliases":["GHSA-wmjg-vqhv-q5p5"],"references":[{"url":"https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5","tags":["x_refsource_CONFIRM","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://codeql.github.com/codeql-query-help/ruby/rb-path-injection","tags":["x_refsource_MISC","Third Party Advisory","web"]},{"url":"https://owasp.org/www-community/attacks/Path_Traversal","tags":["x_refsource_MISC","Issue Tracking","web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS","tags":["x_refsource_MISC","advisory"]},{"url":"https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released","tags":["x_refsource_MISC","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46986.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46986","tags":["advisory"]},{"url":"https://github.com/owen2345/camaleon-cms/commit/b3b12b1e4a9e3fccaf5bb4330820fa7f8744e6bd","tags":["web"]},{"url":"https://github.com/owen2345/camaleon-cms","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46986.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.37106,"epssPercentile":0.98548,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-46986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46986","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-46986","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wmjg-vqhv-q5p5","ok":true,"note":"GHSA-wmjg-vqhv-q5p5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-46986","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 37% with CVSS 10.0"],"attention":null}