{"answers":{"affected":"2 open source packages ship an affected version, including camaleon_cms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46987 exists.","fix":"Upgrade camaleon_cms to 2.8.1 or later.","what":"CVE-2024-46987 is a high-severity path traversal vulnerability in owen2345 camaleon-cms, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-46987 and fix it if it is affected.\n\nWhat it is: CVE-2024-46987 is a high-severity path traversal vulnerability in owen2345 camaleon-cms, published on 18 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-46987 exists.\n\nAffected packages and fixed versions:\n- camaleon_cms (RubyGems): affected all versions; fixed in 2.8.1\n- camaleon_cms (RubyGems): affected all versions; fixed in 2.8.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-46987/ (Markdown: https://insights.sbomify.com/CVE-2024-46987/index.md)","id":"CVE-2024-46987","markdown":"https://insights.sbomify.com/CVE-2024-46987/index.md","name":"CVE-2024-46987","record":{"aliases":["GHSA-cp65-5m9r-vc2c"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Camaleon CMS","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit a path traversal flaw in Camaleon CMS to download arbitrary files from the server, leading to information disclosure.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"camaleon_cms","vendor":"tuzitio"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"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.","ecosystems":["RubyGems"],"exploits":{"exploitdb":1,"first_seen":"2024-08-08","github_poc":10,"max_poc_stars":27,"metasploit":1,"nuclei":0,"refs":[{"date":"2026-02-01T02:06:33Z","kind":"github_poc","ref":"https://github.com/Goultarde/CVE-2024-46987","stars":27,"title":"This Python PoC exploits CVE-2024-46987, a Path Traversal bug in Camaleon CMS 2.8.0 \u003c 2.8.2  (work on 2.9.0). It allows authenticated users to read sensitive server files via the MediaController. Intended for authorized security auditing and educational research only. "},{"date":"2026-02-05T21:37:57Z","kind":"github_poc","ref":"https://github.com/advaitpathak21/CVE-2024-46987","stars":1,"title":"Exploit created using Python"},{"date":"2024-08-08","kind":"metasploit","ref":"auxiliary/gather/camaleon_download_private_file","stars":null,"title":"Camaleon CMS Directory Traversal CVE-2024-46987"},{"date":"2026-02-03T14:37:59Z","kind":"github_poc","ref":"https://github.com/L1337Xi/CVE-2024-46987","stars":0,"title":"Path Traversal vulnerability"},{"date":"2026-02-04T07:27:39Z","kind":"github_poc","ref":"https://github.com/Ik0nw/CVE-2024-46987","stars":0,"title":null},{"date":"2026-02-05T08:36:37Z","kind":"github_poc","ref":"https://github.com/sparrowhawk1113/Exploit-for-CVE-2024-46987","stars":0,"title":"Exploit for CVE-2024-46987"},{"date":"2026-02-05T10:51:30Z","kind":"github_poc","ref":"https://github.com/Rival420/CVE-2024-46987","stars":0,"title":"CVE-2024-46987 - Camaleon CMS LFI Exploit"},{"date":"2026-02-08T20:34:56Z","kind":"github_poc","ref":"https://github.com/ramzerk/CVE-2024-46987","stars":0,"title":"This Rust PoC exploits CVE-2024-46987, a Path Traversal bug in Camaleon CMS 2.8.0 \u003c 2.8.2 (work on 2.9.0)."}],"tier":"weaponised"},"has_fix":true,"headline":"Arbitrary path traversal in Camaleon CMS","id":"CVE-2024-46987","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":2,"n_references":5,"next":{"headline":"Tuleap does not properly check permissions for email notifications in trackers","id":"CVE-2024-46988"},"packages":[{"ecosystem":"RubyGems","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"camaleon_cms","purl":null,"source":"GHSA-cp65-5m9r-vc2c"},{"ecosystem":"RubyGems","fixed":["2.8.1"],"introduced":["0"],"last_affected":[],"package":"camaleon_cms","purl":"pkg:gem/camaleon_cms","source":"GHSA-cp65-5m9r-vc2c"}],"prev":{"headline":"Arbitrary file write leading to RCE in Camaleon CMS","id":"CVE-2024-46986"},"products":["camaleon-cms"],"published":"2024-09-18","related":[{"cvss_score":10,"headline":"Arbitrary file write leading to RCE in Camaleon CMS","id":"CVE-2024-46986","kev_date_added":null,"published":"2024-09-18"},{"cvss_score":9.8,"headline":"Server-Side Template Injection in Camaleon CMS","id":"CVE-2023-30145","kev_date_added":null,"published":"2023-05-26"},{"cvss_score":8.8,"headline":"Camaleon CMS - Insufficient Session Expiration after Password Change","id":"CVE-2021-25970","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":6.1,"headline":"Camaleon CMS - Stored Cross-Site Scripting (XSS) in Comments","id":"CVE-2021-25969","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":6.1,"headline":"Camaleon CMS vulnerable to Stored Cross-site Scripting","id":"CVE-2018-18260","kev_date_added":null,"published":"2018-10-15"},{"cvss_score":6,"headline":"Camaleon CMS AWS Uploader Authenticated Path Traversal Arbitrary File Read","id":"CVE-2026-1776","kev_date_added":null,"published":"2026-03-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-17","vendors":["owen2345"]},"summary":"Authenticated attackers can exploit a path traversal flaw in Camaleon CMS to download arbitrary files from the server, leading to information disclosure.","url":"https://insights.sbomify.com/CVE-2024-46987/"}