{"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-2021-25972 exists.","fix":"Upgrade camaleon_cms to 2.6.0.1 or later.","what":"CVE-2021-25972 is a medium-severity server-side request forgery vulnerability in camaleon_cms, published on 20 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-25972 and fix it if it is affected.\n\nWhat it is: CVE-2021-25972 is a medium-severity server-side request forgery vulnerability in camaleon_cms, published on 20 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25972 exists.\n\nAffected packages and fixed versions:\n- camaleon_cms (RubyGems): affected from 2.1.2.0; fixed in 2.6.0.1\n- camaleon_cms (RubyGems): affected from 2.1.2.0; fixed in 2.6.0.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-2021-25972/ (Markdown: https://insights.sbomify.com/CVE-2021-25972/index.md)","id":"CVE-2021-25972","markdown":"https://insights.sbomify.com/CVE-2021-25972/index.md","name":"CVE-2021-25972","record":{"aliases":["GHSA-vx6p-q4gj-x6xx"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Camaleon CMS","requires_auth":"high_privilege","summary":"Admin users can exploit SSRF in Camaleon CMS media upload to read files from internal servers by bypassing URL validation.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mend","cpe":[{"product":"camaleon_cms","vendor":"tuzitio"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"In Camaleon CMS, versions 2.1.2.0 to 2.6.0, are vulnerable to Server-Side Request Forgery (SSRF) in the media upload feature, which allows admin users to fetch media files from external URLs but fails to validate URLs referencing to localhost or other internal servers. This allows attackers to read files stored in the internal server.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Camaleon CMS - Server-Side Request Forgery (SSRF) in Media Upload Feature","id":"CVE-2021-25972","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"ssrf","year":"2021"},"n_packages":2,"n_references":2,"next":{"headline":"Publify - Improper Authorization Leads to Guest Signup Restriction Bypass","id":"CVE-2021-25973"},"packages":[{"ecosystem":"RubyGems","fixed":["2.6.0.1"],"introduced":["2.1.2.0"],"last_affected":[],"package":"camaleon_cms","purl":null,"source":"GHSA-vx6p-q4gj-x6xx"},{"ecosystem":"RubyGems","fixed":["2.6.0.1"],"introduced":["2.1.2.0"],"last_affected":[],"package":"camaleon_cms","purl":"pkg:gem/camaleon_cms","source":"GHSA-vx6p-q4gj-x6xx"}],"prev":{"headline":"Camaleon CMS - SVG File Upload Creates DoS for Media Upload Feature","id":"CVE-2021-25971"},"products":["camaleon_cms"],"published":"2021-10-20","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":7.7,"headline":"Arbitrary path traversal in Camaleon CMS","id":"CVE-2024-46987","kev_date_added":null,"published":"2024-09-18"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-30","vendors":["camaleon_cms"]},"summary":"Admin users can exploit SSRF in Camaleon CMS media upload to read files from internal servers by bypassing URL validation.","url":"https://insights.sbomify.com/CVE-2021-25972/"}