{"id":"CVE-2024-46987","published":"2024-09-18T17:15:45Z","modified":"2025-04-17T18:07:30Z","title":"Arbitrary path traversal in Camaleon CMS","vendor":"owen2345","product":"camaleon-cms","tier":"tail","description":{"text":"Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. A path traversal vulnerability accessible via MediaController's download_private_file method allows authenticated users to download any file on the web server Camaleon CMS is running on (depending on the file permissions). This issue may lead to Information Disclosure. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.1456,"percentile":0.96642,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-cp65-5m9r-vc2c","tags":["x_refsource_CONFIRM"]},{"url":"https://codeql.github.com/codeql-query-help/ruby/rb-path-injection","tags":["x_refsource_MISC"]},{"url":"https://owasp.org/www-community/attacks/Path_Traversal","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS","tags":["x_refsource_MISC"]},{"url":"https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released","tags":["x_refsource_MISC"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.39}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-04-30"},"pocGithub":{"count":9,"skipped":1,"earliest":"2026-02-01","earliestUrl":"https://github.com/Goultarde/CVE-2024-46987","repos":[{"name":"Goultarde/CVE-2024-46987","url":"https://github.com/Goultarde/CVE-2024-46987","stars":27,"created":"2026-02-01"},{"name":"advaitpathak21/CVE-2024-46987","url":"https://github.com/advaitpathak21/CVE-2024-46987","stars":1,"created":"2026-02-05"},{"name":"L1337Xi/CVE-2024-46987","url":"https://github.com/L1337Xi/CVE-2024-46987","stars":0,"created":"2026-02-03"},{"name":"sparrowhawk1113/Exploit-for-CVE-2024-46987","url":"https://github.com/sparrowhawk1113/Exploit-for-CVE-2024-46987","stars":0,"created":"2026-02-05"},{"name":"Rival420/CVE-2024-46987","url":"https://github.com/Rival420/CVE-2024-46987","stars":0,"created":"2026-02-05"}]},"metasploit":[{"name":"Camaleon CMS Directory Traversal CVE-2024-46987","module":"auxiliary/gather/camaleon_download_private_file","type":"auxiliary","disclosureDate":"2024-08-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/camaleon_download_private_file.rb"}],"first":{"date":"2024-08-08","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/camaleon_download_private_file.rb"},"provenance":"source"},"vendorSlug":"owen2345","affectedVersions":[{"vendor":"owen2345","product":"camaleon-cms","versions":["< 2.8.2"]}],"affected":[{"ecosystem":"RubyGems","package":"camaleon_cms","vulnerableRanges":["<2.8.1"],"patched":["2.8.1"],"from":["GHSA-cp65-5m9r-vc2c"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2772","exploited":false,"provenance":"source"},"exploits":[{"id":52531,"url":"https://www.exploit-db.com/exploits/52531","title":"Camaleon CMS  v2.9.0 - Path Traversal","date":"2026-04-30","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-owen2345-camaleon-cms-cve-2023-30145","parents":[{"from":"CVE-2023-30145","to":"CVE-2024-46987","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:camaleon_cms","fromFixed":"2.7.4","toFixed":"2.8.1","daysApart":481},{"kind":"same-code","provenance":"machine","files":["app/controllers/camaleon_cms/admin/media_controller.rb"],"commits":["https://github.com/owen2345/camaleon-cms/commit/4485788c544eb1aae52ca613bd9626129e3df6ee","https://github.com/owen2345/camaleon-cms/commit/071b1b09d6d61ab02a5960b1ccafd9d9c2155a3e"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-46987","to":"CVE-2026-1776","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This issue represents a bypass of the incomplete fix for CVE-2024-46987 and affects deployments using the AWS S3 storage backend.","from":"CVE.org","in":"CVE-2026-1776"}]}],"packageHistory":[{"cve":"CVE-2021-25972","published":"2021-10-20","fixed":"2.6.0.1","kev":false},{"cve":"CVE-2023-30145","published":"2023-05-26","fixed":"2.7.4","kev":false},{"cve":"CVE-2024-46986","published":"2024-09-18","fixed":"2.8.1","kev":false},{"cve":"CVE-2024-46987","published":"2024-09-18","fixed":"2.8.1","kev":false},{"cve":"CVE-2025-2304","published":"2025-03-14","fixed":"2.9.1","kev":false,"link":{"from":"CVE-2024-46987","to":"CVE-2025-2304","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:camaleon_cms","fromFixed":"2.8.1","toFixed":"2.9.1","daysApart":177}]}}],"package":"RubyGems:camaleon_cms"}}